virDomainVcpuParse: Assign default vcpus count based on return value of virXMLPropUInt
virDomainVcpuParse: Assign default vcpus count based on return value of virXMLPropUInt

Assign the vcpu count when virXMLPropUInt returns '0' meaning that the
cpu count was not present in the XML. This will allow to always
initialize the value of @result in virXMLPropUInt to prevent use of
uninitialized values.

Signed-off-by: Peter Krempa <2cf5c04c61aa466e4a47bfedc747d17279c72ffc@redhat.com>
Reviewed-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>

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