[openEuler-5.10 491/557] net: vlan: fix a UAF in vlan_dev_real_dev()