d3dx10: Implement D3DX10GetImageInfoFromFileA().