[added to the stable tree] sched/core: Add switch_mm_irqs_off() and use it in the scheduler