sched: Make preempt_schedule_context() function-tracing safe