opengl: implement glColor4ubv

I think this looks correct.  I simply copied the pattern that I saw from the other glColor* functions in src/library_gl.js