[PATCH] wdt: dw: Fix passing NULL pointer to reset functions