mesa/es: Validate glGetString pname in Mesa code rather than the ES wrapper