glx: Fix linked list deletion in __glXCloseDisplay()