Fix `getgroups' for when zero supplementary group IDs exist.