d3d10/tests: Use a wrapper function for D3D10CreateEffectFromMemory().