[VLAN]: Add two missing checks to vlan_ioctl_handler()