[PATCH 3/7] d3dx9: Introduce d3dx_image_resource structure for use in D3DXGetImageInfoFromFileInMemory().