PNaCl: Added 'create_thread' function in the pnacl lib.

Added 'create_thread' function to enable thread creation after a exit.