[PATCH openEuler-26.09 223/399] sched_ext: Refactor consume_remote_task()