Avoid double free/use-after-free of static unique_ptr<>
The processtest autotest crashes as the static ProcessLocal is apparently
destructed twice from the global destructor list on program exit. The
issue can be triggered even with a trivial program:
int main(int argc, char* argv[])
{
QApplication app(argc, argv);
KSysGuardProcessList processList;
}