sys/sched.h: add SCHED_STAT_DECLARE()
(cherry picked from commit 0b474a48dc5866d94988ed3af24019d7074f5e5b)