Fix crash during startup
Sometimes android would send us Activity#onPause event
twice, which then allows us to make call to KisPart::instance(),
which calls the ctor of KisPart and then it initializing
things which should not be initialized at such an early stage.
Hence, the crash
Maniphest: T10784