Create a weak pthread_create reference on NetBSD to not force a
dependency on libpthread for code that doesn't use threads itself.