[libvirt] [PATCHv2 2/2] Use virBufferTrim when generating boot options