Fix generation of the function pointer typedefs.

We were disagreeing with the GL headers on their names.
Add a little more testing of our public GLX API.