d3d10: Implement ID3D10Effect::GetVariableBySemantic().