Fixed error return value of glfwGetCocoaMonitor.
Fixed error return values of native EGL functions.
Made glfwGetX11Monitor return output, not CRTC.