[PATCH openEuler-26.09 092/399] sched: Simplify sched_{set,get}affinity()