[PATCH 6.1.y] net: dsa: fix netdev_priv() dereference before check on non-DSA netdevice events