glx: Use __glXSendError instead of open-coding it