mesa: Expose EXT_texture_query_lod and add support for its use shaders
EXT_texture_query_lod provides the same functionality for GLES like the ARB extension with the same name for GL.
The extension was included in the OpenGL Registry.
There is some duplication of member variables I'm not too happy about though.
Edited by Gert Wollny