(GCMGL) Move more code to rgl-gcm-cmds.h