graphics/libGLw: Fix extern visibility
Import upstream patches to graphics/libGLw to fix extern visibility of some
symbols. While here, also add a patch to fix a typo.
These patches pulls libGLw on par with upstream git master.
PR: 237917
Reported by: Jason W. Bacon
MFH: 2019Q3 (fixes issues in other ports)