glx: Don't segfault if glXGetContextIDEXT is pased a NULL context