pthread_yield: mark as extern

Apparently, pthread_yield declaration is not in the standard headers, so it
ends up not being exported as a C symbol. Manually do it.

Signed-off-by: Glauber Costa <glommer@cloudius-systems.com>
Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>