redis-benchmark: fix db selection when :rand: feature is used.