d3d9_36: partially implement D3DXCreateTextureFromFile