qemu: Improve qemuDomainChrTargetDefValidate()
qemu: Improve qemuDomainChrTargetDefValidate()

Instead of validating each target type / address type combination
separately, create a small helper to perform the matching and
collapse all existing checks into a single one.

Signed-off-by: Andrea Bolognani <3ada0bee826c753786fdbba72243dfba997094cf@redhat.com>
Reviewed-by: Pavel Hrdina <d4772d05997b8abf035041e3b4f4996380ea7e7a@redhat.com>

olafhering/libvirt,nertpinx/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,libvirt/libvirt,nertpinx/libvirt,crobinso/libvirt,nertpinx/libvirt,jardasgit/libvirt,zippy2/libvirt,crobinso/libvirt,fabianfreyer/libvirt,fabianfreyer/libvirt,jfehlig/libvirt,andreabolognani/libvirt,zippy2/libvirt,jfehlig/libvirt,libvirt/libvirt,olafhering/libvirt,eskultety/libvirt,andreabolognani/libvirt,jardasgit/libvirt,nertpinx/libvirt,zippy2/libvirt,eskultety/libvirt,libvirt/libvirt,eskultety/libvirt,jfehlig/libvirt,eskultety/libvirt,eskultety/libvirt,nertpinx/libvirt,andreabolognani/libvirt,jfehlig/libvirt,olafhering/libvirt,jardasgit/libvirt,jardasgit/libvirt,crobinso/libvirt,crobinso/libvirt,fabianfreyer/libvirt,andreabolognani/libvirt,zippy2/libvirt,jardasgit/libvirt,olafhering/libvirt,fabianfreyer/libvirt,libvirt/libvirt