v3dv: Lower local arrays to scratch in preprocess_nir
Local arrays larger than 2 elements are lowered to scratch memory, while those with fewer elements are kept to later be lowered to conditional accesses to temporaries.
Local arrays larger than 2 elements are lowered to scratch memory, while those with fewer elements are kept to later be lowered to conditional accesses to temporaries.