groups: fix grouplist crashes with new libcomps.