GL_ARB_gl_spirv bug: Duplicate location link error if OpName is stripped from SPIR-V shader

When stripping OpName instructions from a SPIR-V shader, if there are overlapping uniform locations between the vertex and fragment shader, the link will fail if the variables don’t have the exact same SPIR-V ID, with an error like:

Link info
Error Duplicate location 3 for uniform __defaultname_196

It appears to be checking that an internally-generated name (which is generated from the SPIR-V OpVariable result ID) matches, even though this identifier should be of no semantic relevance. The driver should not be considering this an error. Our shader front-end has already validated that the overlap is legitimate and intended.

Tested with 446.14 drivers and GeForce RTX 2080 Super on Windows 10 64-bit. I can provide shaders on request.