Remove foreign energy groups from gmx_enerdata_t