st/mesa: check requirements for MESA_texture_const_bandwidth
This extension depends on EXT_memory_object, and is not usable without it. So let's disable it, so applications don't try to use it.
Fixes: 5cccd6d6 ("mesa: Implement MESA_texture_const_bandwidth")
While we're at it, tighten requirements for EXT_memory_object and
friends to avoid accidentally allowing the enums on GLES 1.x, and
error-check the parameters passed when pname is GL_TEXTURE_TILING_EXT
...
/cc @robclark
Edited by Erik Faye-Lund