nir/gl_nir_linker: Call add_vars_with_modes once for GL_PROGRAM_INPUT