pthread: Rename thread_init to avoid symbol collision