[libvirt PATCH v2 06/56] util: use getgrouplist() directly instead of mgetgroups