AntTweakBar: fix dynamic loading of OpenGL framework

Closes #29535.