Add anchor support to build_htlc_transaction