[eglfs] Set swapInterval at the right time

The swapInterval applies to the current context and cannot be set
before.