[libvirt] [PATCH v4 09/30] conf: Improve virDomainChrTargetDefFormat()