st/mesa: add support for ARB_texture_query_lod