mesa/st: Perf debug for variant recompiles, and fix some.
Add GL_ARB_debug_output
for mesa/st shader variant recompiles, and use that to fix the major source I found on freedreno on traces-db. Tagged a few drivers that should be affected by the fix.