[X86] Fix syntax directive for --output-asm-variant=1 (#186316)
`--output-asm-variant=1` in llc/clang correctly prints instructions in
Intel syntax but incorrectly emits `.att_syntax` as the first directive.
Fix this by consulting OutputAsmVariant (with fallback to
AssemblerDialect) when deciding which syntax directive to emit, matching
the same pattern in CodeGenTargetMachineImpl::createMCStreamer
(#109360).