jtag: fix handling of 'tap enable' error