vlan: Fix register_vlan_dev() error path