core/sched: refactor SCHEDSTATISTICS
core/sched.c: MODULE_HWTIMER is not a module anymore
core/sched: optimize use of sched_active_pid