qt: fix race condition when SystemPalette is destroyed
As we don't control the destruction order of QML component, when scene is unloading SystemPalette may be destroyed before ColorContext item that uses this palette, with palette change not propagated in time.