gallivm/tgsi: fix stream id regression
The commit below broke TGSI GS shaders with llvmpipe, it wasn't looking at the right immediates and it should be cast to an integer type.
This may break swr.
Fixes: 163d5fde (gallium/swr: Enable GL_ARB_gpu_shader5: multiple streams)