CVE-2024-41932 sched: fix warning in sched_setaffinity