gas:LoongArch: Fix "make check" pr21884 fail in LoongArch32. gas/config/ * tc-loongarch.c: Add function to select target mach. * tc-loongarch.h: Define macro TARGET_MACH.