[entropy.tools] rewrite read_elf_linker_paths(), improve speed, add tests