switch: fix some memory leaks in switch_parse_vlan()