[libc] Take 2: Add linux implementations of thrd_create and thrd_join functions.