[entropy.tools] fix read_elf_metadata in case of no metadata