glretrace: Fix dumping of cube map FBO attachements.