When comparing -1 to a group id, cast -1 with gid_t because on some systems