grpc plugin: Use plugin_thread_create instead of pthread_create.