mesa: add KHR_no_error support for gl*Textures()