wedge_sampler: make random_device thread_local