[tor-commits] [tor/master] Check maximum properly in crypto_rand_int()