mesa/main: fix validation of GL_TIME_ELAPSED