Minor changes on libc and llvm

Fix undefined sym
Add pthread lib into link tool chain
Limit calling convention to CCC and ThisCC
Revert to original Builtins
Remove changes of libcall name of mem*
Rename atomics ops in libcHack