Implement stub for sched_yield().

This was in the headers, but had no implementation resulting in
an undefined at runtime.
Merge pull request #924 from waywardmonkeys/implement-sched-yield

Implement stub for sched_yield().