kmodloader: fix elf header parsing on 64bit machines