watchdog: jz4740: Fix modular build