[S390] split/move machine check handler code