[PATCH 2/4] dbghelp: Detect ELF architecture before reading the whole header.