dri2: Check for dummyContext to see if the glx_context is valid