Move the Imp tblgen class from the X86 backend to common code.