[PATCH] libelf: elf_getphdrnum sanity check the returned phnum result.