jtag/tcl.c cleanup -- split out "adapter.c"