perf/core: Fix ctx_event_type in ctx_resched()