sched: Use CPUPRI_NR_PRIORITIES instead of MAX_RT_PRIO in cpupri check