Simplify UNUSED() macro.

It already requires semicolon and because of void cast it can't be used
in expression so there's no need for the do {} while(0) wrapper.
Add inline to trivial functions.

The compiler probably inlines the calls but let's be explicit.
We use tight stride.
Fill addresses of functions that are accessible only by glXGetProcAddress.