Fixes when resizing egl windows

0c4f8da makes QT_WAYLAND_RESIZE_AFTER_SWAP work, not sure how we didn't see that before.
aa8d6b5 removes redundant EGLSurface allocations.