platformsupport/scenes/opengl: add a factory function for EglSwapchainSlot
This makes it more obvious that creating slots can fail, and makes it simpler to add checks for that
This makes it more obvious that creating slots can fail, and makes it simpler to add checks for that