[FastISel][X86] Refactor XALU folding. NFC.