ld/arc: Fix linker for big-endian arc targets