nir: don't pass large object by value
These are two fixes for a warning This parameter of type nir_dest is 72 bytes - consider passing a const pointer/reference instead
from here.
This is also an experimental MR to see if commits of these kind are welcome; I can send more of them.