x86: extend and use x86_quirks to clean up NUMAQ code