[ELF] Set the symbol type for undefined atoms properly