mips: fix error handling for jtag_execute_queue()