[PATCH 4.19 231/346] watchdog: Fix potential dereferencing of null pointer