kernel/sched: add missing declaration for task struct

Change-Id: I59b9a014378bbcd796371078378ebc841fddeeab