[PATCH 4.19 050/220] watchdog: core: fix null pointer dereference when releasing cdev