private int setValue(Memory memory, Address addr, long value, boolean is64bit)
			throws MemoryAccessException {
		if (is64bit) {
			memory.setLong(addr, value);
			return 8;
		}

		memory.setInt(addr, (int) value);
		return 4;
	}
Set the new value in memory
@param memory memory
@param addr address to set new value
@param value value
@param is64bit true if value is 64, false if 32bit
return value byte-length
@throws MemoryAccessException on set of value
Ghidra/Processors/AARCH64/src/main/java/ghidra/app/util/bin/format/elf/relocation/AARCH64_ElfRelocationHandler.java