sched/preempt: Fix cond_resched_lock() and cond_resched_softirq()