tracing: Fix reset of time stamps during trace_clock changes