nir/lower_io_to_vector: don't create arrays when not needed
Some backends require that there are no array varyings.
If there were no arrays in the input shader, the pass shouldn't have to create new ones.
Some backends require that there are no array varyings.
If there were no arrays in the input shader, the pass shouldn't have to create new ones.