perf_events: Fix time tracking in samples