Replace `get_htlc_update_msgs` macro with a function