configure: disable X11 opengl backend if Cocoa is enabled