nanovg: glUniform optimization for GLES2/WebGL
nanovg: fix for conditionally compiled glGetError check