Due to the (clever?) way of representing both the 32 and 64 instruction
sets using a single RegisterClass we may end up with a mismatched
register when resolving named input/output constraints.
Fix the problem by patching the register class to an appropriate value
after performing the usual lookup.