core: Sched switch simplification

small header cleanup and simplified function prototype for sched_switch()