[libvirt] [PATCHv2 11/11] conf: Refactor and rename the function to validate a new resctrl monitor