[RuntimeDydlELF] Use range-based loop.