Fix PR14547. Handle induction variables of small sizes smaller than i32 (i8 and i16).