[libvirt] [PATCHv6 05/18] util: Refactor code for adding PID to the resource group