esx: Fix nodeGetInfo so cpu model fits inside nodeinfo->model
esx: Fix nodeGetInfo so cpu model fits inside nodeinfo->model

Commit 6c0d0210cbcd5d647f0d882c07f077d444bc707d changed the behavior of
virStr*cpy* functions, so now the nodeGetInfo call fails. Version 4.1.0
(default for Fedora 28) works:

Model: Intel Core i7-4500U CPU @ 1.80G

Current master tries to write "Intel Core i7-4500U CPU @ 1.80GHz", but
the string is bigger than nodeinfo->model (which is a char[32]). So this
patch "cuts" the string, and presents the same output from 4.1.0.

Signed-off-by: Marcos Paulo de Souza <0b4ebe3a213a49a2bc3457b98408e6d86812eb46@gmail.com>

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