In the notifier event callback function rather than casting directly
to the expected type use the proper accessor function as the mlx drivers
This is preparational work to allow us to improve the struct net_device
is struct ifnet compat code shortcut in the future.
Sponsored-by: The FreeBSD Foundation
MFC-after: 2 weeks