Add linkage to pthreads in libstd for NaCl.
librustc: Disable two (as it turns out) unneeded LLVM passes. Additionally, it
seems that these passes (more likely just -promote-simple-structs) was the cause
of the seg faults.