core: imply current_prio in `sched_switch()`

There is no need to supply the current priority to `sched_switch()`,
when this function can easily tell the value of
`active_thread->priority` itself.
Merge pull request #1057 from Kijewski/sched_switch-current_prio

core: imply current_prio in `sched_switch()`