This reverts commit a27f2d99.
As of a0829cf2 ("GL: drop symbols mangling support"), this extra complexity isn't needed anymore.