Add a couple pthread function definitions and get_sched for musl.
Add a couple pthread function definitions and get_sched for musl.

rust-lang/libc,rust-lang/libc,rust-lang-nursery/libc,rust-lang-nursery/libc,rust-lang/libc,rust-lang-nursery/libc