glsl_to_nir: fix crashes with int16 shifts