Fix VA-API-GLX context setting

This should fix (work-around) two things:
 1) Crash in intel driver when glXSwapBuffers is called without context
    (See https://bugs.freedesktop.org/show_bug.cgi?id=44614)

 2) Ensure that GLX surfaces can be created when context is properly set