move target registry stuff to X86ATTAsmPrinter.cpp