[PATCH OLK-6.6 402/451] tools/sched_ext: Add helper to check task migration state