Fix for 17139 (#18565)
* patch for issue #17139 to add support to 'code_native()' to specify asm assembly output syntax
Signed-off-by: kwadwo amankwa <citisolo@gmail.com>
* made suggested changes to patch for issue #17139
* more changes to patch for issue #17139
* modified test for x86 to include different versions of ix86
* Modified 'ismatch' comparison, so the regex is compared against string(Sys.ARCH)
* fixed the highlighted format issues, updated docs and renamed code_native parameter from 'asmvariant' to 'syntax'
* Also modified verification in '_dump_function' from general exception to 'ArgumentError'