qemu: default video device type selection algoritm moved into its own function
qemu: default video device type selection algoritm moved into its own function

The default video device type selection algorithm we're about to deploy will
increase the amount of code dedicated to the task by amount enough to warrant
factoring the whole thing into its own function so as not to pollute the
caller qemuDomainDeviceVideoDefPostParse().  Do it now so that the actual
algorithm change later on is in a clean commit by itself and easy to review.

Reviewed-by: Cole Robinson <7cd45ff6ad1fb7cf556a02797d774247851499f8@redhat.com>
Signed-off-by: Pavel Mores <e8e79a41a9b826cd47122238a26f8527b5f610bc@redhat.com>

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