d3dx9: Simplify ID3DXBaseEffect::SetInt().