fixup! Using macros and inline function for quick lookup of channel state.
fixup! Use channel state lookup macros in channel.c
fixup! Using channel state lookup macros in circuitlist.c.
fixup! Using channel state lookup macros in connection_or.c.