[Libguestfs] [PATCH nbdkit RFC 1/2] common: Add <vector>_reset which removes all elements of a vector.