d3dx10: Introduce initial D3DX10CreateTextureFromMemory() implementation.