jtag_libusb_bulk_read|write: return error code instead of size