d3dretrace: Dump D3DFMT_D32F_LOCKABLE too.
glretrace: Always pass a format appropriate for the internalFormat when reading pixels.

Fixes dumping of GL_RGBA8I framebuffers.