cpuidle: Add last_residency trace event for residency profiling