Correct ELF note decoding for non-core files

Requested by:	kib