[tor-commits] [tor/master] Add crypto_rand_int_range() and use it