shader: Emit input arrays the way the prev shader emits outputs
If a pre-NTT guest mesa version is run the outputs may still be emitted by the TGSI as arrays, and we have to emit the same layout, especially for the inputs that are emitted just to sync the IO interfaces.
Fixes: 1a106aed shader: pass info about written outputs and create inputs when missing
Related: #281 (closed)