[libvirt] [PATCH v2 03/17] util: Refactor virResctrlAllocFormat of virresctrl