[tor-commits] [tor/master] Fix a failure case of connection_ap_handshake_attach_circuit()