nir: Use a nir_shader and mode in lower_clip_cull_distance_arrays