[PATCH 5/5] d3dx9: Compute the correct source rect in D3DXLoadSurfaceFromFileInMemory().