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