[AppletInterface] Check for corona before accessing it

Authored by broulik on Apr 5 2019, 9:34 AM.

Description

[AppletInterface] Check for corona before accessing it

On plasmashell shutdown when the panels are destroyed, the available screen geometry changes.
When an applet then accesses screenGeometry in response to that change, it crashes because the corona is already gone.

availableScreenRegion() and availableScreenRect() already checked for this but screenGeometry() did not

Differential Revision: https://phabricator.kde.org/D20244