glretrace: Fix dumping of multi-sampled framebuffers.

Fix GL_INVALID_OPERATION in reading back framebuffer, due to target
mismatch.