[ELF] add elf_hash function to compute the hash value of a symbol in the dynamic symbol table