macOS: Add architecture flags only for native ASM dialect

ASM dialects like NASM have languages names such as ASM_NASM.
However such ASM dialects don't support the architecture flags, so match only
the full name.

Fixes #21553.
23 jobs for asm_arch