[PATCH OLK-6.6 157/525] sched/core: Optimize in_task() and in_interrupt() a bit