[libvirt] [PATCH v4 12/30] qemu: Improve qemuDomainChrTargetDefValidate()