[PATCH 6.5 152/491] sched/core: Optimize in_task() and in_interrupt() a bit