d3dx10: Partially implement D3DX10CreateEffectFromMemory().