[X86] Emit the import call optimization table in a deterministic order (#247679)
X86AsmPrinter kept the import call sites per section in a DenseMap keyed
by MCSection pointers and emitted the .retplne table by iterating it, so
the order of the sections in the table depended on pointer values and
changed between runs. Use a MapVector, like AArch64AsmPrinter does.
Compile time and memory are unchanged on a module with 10000 such
sections.
The table checks in win-import-call-optimization.ll had no colons, so
FileCheck ignored them, and their call kinds were out of date. Fix both.
Assisted-by: Claude Code (Claude Opus 5.5)