private long getValue(Memory memory, Address addr, boolean is64bit)
			throws MemoryAccessException {
		if (is64bit) {
			return memory.getLong(addr);
		}
		return memory.getInt(addr);
	}
Get a 64 or 32 bit value from memory
@param memory memory
@param addr address in memory
@param is64bit true if 64 bit value, false if 32 bit value
@return value from memory as a long
@throws MemoryAccessException if memory access failed
Ghidra/Processors/AARCH64/src/main/java/ghidra/app/util/bin/format/elf/relocation/AARCH64_ElfRelocationHandler.java