Call glValidateProgram() before querying GL_VALIDATE_STATUS