[ELF] Terminate argv with nullptr.

Also remove unused vector.