[PATCH 4/7] d3dx9: Use d3dx_image_resource structure in D3DXLoadSurfaceFromFileInMemory().