move x86 specific oops=panic to generic code