Change getgroups to use GETGROUPS_T as the type of the group array returned,