[PATCH] libelf: Split checks for ehdr and shdr, drop phdr check in file_read_elf.