mips_ejtag: cache ejtag version to avoid recalculation