only change the group id if it the current gid is different from what we want