[libvirt PATCH 3/3] virBufferTrim: do not accept len