Fix mem leaks in relation to freeing BroVectors.
Remove unused code in bro_vector_set_nth_val().
Merge remote-tracking branch 'origin/topic/jsiwek/misc-fixes'

* origin/topic/jsiwek/misc-fixes:
  Remove unused code in bro_vector_set_nth_val().
  Fix mem leaks in relation to freeing BroVectors.