[PATCH 5.4 194/309] watchdog: fix UAF in reboot notifier handling in watchdog core code