jtag/aice: avoid abusing of int32_t type