[libvirt PATCH 13/25] vircgroup: extract virCgroupNewDetect from virCgroupNew