(RGL PS3) Refactor rgl-gcm-cmds.h