Fix GLuint instead of GLuint64 for some handles.
Fix some uint->float conversion warning.