[PATCH v3 5/7] wdt: dw: Free the clock on error