drisw/glx: use XShm if possible