src/hgl: Drop inline of GL functions

* gcc2 seems to be doing odd things with
  the inlining causing C++ to call extern
  C functions with C++ linkage.
* No real performance hit.