glsl_to_tgsi: improve assignment hack