[PATCH v2 5/6] d3dx9: Use temporary surface in D3DXSaveSurfaceToFileInMemory() for unmappable textures.