[libvirt] [PATCH v2 07/21] conf: Improve virDomainChrTargetDefFormat()