LoongArch: Reject foreign ELF inputs during relocation Reject non-LoongArch inputs before processing relocations. PR ld/34807