Use glUniformNfv correctly

If the *targeted* uniform variable is not an array, parameter count
should have value 1

See http://www.opengl.org/wiki/GLSL_:_common_mistakes