st/nir: Fix num_inputs for VS inputs