egl/wayland: Follow wl_resource_destroy changes