[ELF] Use a range based access to the ELFFile's sections collection.

No functional changes.