pthread: Add pthread_getthreadid_np() function, bump __DragonFly_version.