glstate: Be more selective when dumping textures again.

We went a bit overboard on 8374a0d66ca9228269e860089c1535fcda9f9c5f to
prevent errors.