sched: sch_api: add missing rcu read lock to silence the warning