glsl: fix spirv sso validation
The api validation calls will segfault without this as it will try to fallback to string matching names which are NULL. This would be incorrect behaviour even is the names weren't NULL so here we correctly set the explicit location flag.
Closes: #9483 (closed) Fixes: ffdb44d3 ("nir/linker: Add inputs/outputs to the program resource list")