glsl_to_tgsi: allocate arrays separately v2