[WATCHDOG] advantechwdt.c - move set_heartbeat to a seperate function