put prototype for thread_yield() in core/include
Merge pull request #439 from OlegHahm/thread_yield_prototype

put prototype for thread_yield() in core/include