fix infinite looping in winbindd_getgrent()