Port KImageMapEditor away from deprecated KUrl, saveWindowSize and initialGeometrySet()
Differential revision: https://phabricator.kde.org/D15633