Fix EffectParameter.SetValue(Texture)

- EffectParameter.SetValue(Texture) shouldn't throw an exception when passing null (XNA 4.0 doesn't)
Fix WindowsGL build