wayland: properly choose EGL_RENDERABLE_TYPE

based on the gl api we chose
remove outdated cmake build files
shader: make it possible to unref in the non-GL thread