MFC r367114.
Fix use-after-free in icmp6_notify_error().
Reported by: Maxime Villard <max at m00nbsd.net>