[PATCH openEuler-26.09 277/408] sched_ext: Make cast_mask() inline