verilator_tb_utils: close vcd dump in destructor