altoslib: Record time_change in AltosState correctly