adapter: switch from struct jtag_interface to adapter_driver