glx: replace assertion with conditional

See fd.o bug 26832.
diff --git a/src/glx/glx_pbuffer.c b/src/glx/glx_pbuffer.c
index f635138..52e0671 100644
--- a/src/glx/glx_pbuffer.c
+++ b/src/glx/glx_pbuffer.c
@@ -379,8 +379,8 @@
    req->glxwindow = (GLXWindow) XAllocID(dpy);
    req->numAttribs = (CARD32) i;
 
-   assert(attrib_list);
-   memcpy(data, attrib_list, 8 * i);
+   if (attrib_list)
+      memcpy(data, attrib_list, 8 * i);
 
    UnlockDisplay(dpy);
    SyncHandle();