[MacPorts] #44258: preventing a crash in the KWindowInfo::Private destructor