[tor-commits] [tor/master] Use a time-invariant comparison in choose_array_element_by_weight