[lld][ELF] split ELF reader into multiple functions for readability (no change in functionality)