get_user_groups: Fix my previous commit.
../src/util.c:215:17: error: incompatible pointer to integer conversion assigning to 'gid_t' (aka 'unsigned int') from 'gid_t *' (aka 'unsigned int *'); dereference with * [-Wint-conversion]
*groups = g_new (gid_t, ngroups);
^ ~~~~~~~~~~~~~~~~~~~~~~
*
../src/util.c:216:42: error: incompatible integer to pointer conversion passing 'gid_t' (aka 'unsigned int') to parameter of type 'gid_t *' (aka 'unsigned int *'); remove * [-Wint-conversion]
res = getgrouplist (user, group, *groups, &ngroups);
^~~~~~~
/usr/include/unistd.h:512:47: note: passing argument to parameter here
int getgrouplist(const char *, gid_t, gid_t *, int *);
^
1 warning and 2 errors generated.