mesa/es: Validate glTexImage format, type, and internalFormat in Mesa code rather...