platform/glx: Check for a possible `XOpenDisplay` error …
Could that be the cause of servo/servo#7931? This check should be here before anyway. I find it really extrange that this fails, but it seems to happen on the buildbots...