vlan/macvlan: fix NULL pointer dereferences in ethtool handlers