[PATCH 5.5 221/367] watchdog: fix UAF in reboot notifier handling in watchdog core code