Fixes haskell-opengl/OpenGL#35.

The solution used is to cast it to GLint.
Adds a small note at TextureUnit about uniforms.
Merge pull request #37 from Laar/hopengl35

Fix issue #35.