OpenGL: Fix Linux python wheel supporting linking against LEGACY GL libraries

Depending on the legacy GL library is preferred because the legacy libGL runtime is available on most systems. In few years (when the glvnd implementations will be common), we could revisit this.

Backport: release

Edited by Ben Boeckel

Merge request reports