CGE2: Fix some GCC warnings