Fix a bug in Icmp lowering.

Refs 99c14de073f792567cc4c706f823949df91f9f5f.  The wrong operand was
being used for extracting the register type.