glws_glx: Set our own error handler.

So that we don't terminate on non-fatal GLX errors, as recommended by
Alexander Monakov.