virlease: Use virTrimSpaces() instead of open coded alternative
virlease: Use virTrimSpaces() instead of open coded alternative

In virLeaseNew() we are trying to remove trailing space (per
comment it may happen that older versions of dnsmasq put it into
an env variable). Well, instead of open coding it, we can use
virTrimSpaces().

Signed-off-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>
Reviewed-by: Daniel P. Berrangé <bb938cf255e055ff3507f2627d214e8e62118fcf@redhat.com>

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