Fix another ELF parsing crash (thanks @maijin for reporting)