[libvirt] [PATCHv5 10/28] util: cgroup: Add helper to convert device mode to string