[ELF] Return error from invalid linker script parse.