[gles2rice] Fix warnings introduced by using C++11

I don't even know why unsigned chars are being used as floats in the first place. Pretty inconsistent, but oh well.