srd: jtag: Various bugfixes.