[eglfs] Set swapInterval at the right time

The swapInterval applies to the current context and cannot be set
before.
Merge pull request #18 from sletta/sbj

[eglfs] Set swapInterval at the right time