fix QgsGeometry::moveVertex on polygon (fixes #9442)