nir: add compact_arrays to compiler options
compact builtins may be handled differently by some passes, but there is no way for common compiler code to determine whether shaders have/use/want compact arrays
this adds that flag as well as fixing the most common issue remaining with compact array usage