nir: convert unused mesh outputs to shared memory
Otherwise reads from output in one subgroup may not see writes from other subgroups. Temp variables are later converted to scratch, so even within one subgroup we may not see correct values.
Test case in crucible!115 (merged)