nir/builder: Add a build_deref_array_imm helper