vppinfra: make coverity happy with vec_set_len