[KSplashQML] static_cast QPlatformSurfaceEvent instead of dynamic_cast
We check for QEvent::PlatformSurface so we can assume this is what we get.