[libvirt] [PATCHv6 04/18] util: Add interface to determine monitor path