kern/sched: deduplicate dtrace hook vars
(cherry picked from commit 783b8a0fd880255a8315db7f59d0450bd7276f4d)