watchdog: rc32434_wdt: fix ioctl error handling