x86, mce: add basic error injection infrastructure