Fix #2838: we should narrow a CmmInt before converting to ImmInteger