sched: small optimisation of can_migrate_task()