[PATCH] Conditionally check expected_preempt_count in __resched_legal()