mesa/es: Validate glMaterial face and pname in Mesa code rather than the ES wrapper