EGL: Declare fgPlatformSetWindow earlier to fix C warning