nvir/nir: move nir options to codegen