NTP: move the cmos update code into ntp.c