glstate: Better support for integer textures dumps.