[tor-commits] [tor/master] Fix an assertion failure introduced by #25948