AVR8: Fix elf reading / writing.