mesa/main: fix validation of GL_TIMESTAMP