internal/uidriver/glfw: Bug fix: SEGV at setWindowSize
internal/uidriver/glfw: Bug fix: SEGV at setWindowSize

u.window can be a different value before and after the function
setWindowSize.

Closes #1522

hajimehoshi/ebiten,hajimehoshi/ebiten