add some missing i16 related casts to code.ir