[tor-commits] [tor/master] Unify code in channel_write_*cell()