x86: change x86 machine check handler to use unlocked_ioctl instead