mesa/main: do not allow integer-texture enums before gles3