fix type error in pthread_create, introduced with pthread_getattr_np