Don't dump core when the ELF file has no section headers. The ELF
core files created by gcore are among those.