[Object][ELF] Fix crash on no dynamic section.