nir: add int16 and uint16 type helpers