[ntp] add ntp fixes from old pivos mods