[wayland-wsegl] Build as libEGL

We're patching ti-omap3-sgx to cooperate.