sched: yield() don't fuck up the runtime of a yeilding thread

Add a flag to a resched_from_interrupt() that will ensure the "other"
thread will be run instead of the current one when it's called from
yield().

Signed-off-by: Vlad Zolotarov <vladz@cloudius-systems.com>