fix buffer overrun in getgrent code when there are no group members