Fix crash when assigning a Component to MapQuickItem.sourceItem


This workaround is currently needed until QTBUG-72930 gets fixed in
qtdeclarative.

Change-Id: Id75fa2048dd6e012c99f61cdc07cfedbe8c6bf83
Fixes: QTBUG-61509
Reviewed-by: Alex Blasche <alexander.blasche@qt.io>
commitbe55fa95765c0d53fadddfce2e9aefa651cf791d
parent1688c44d223145abfdca19a7b31faecbafb0d315
authorPaolo Angelelli <paolo.angelelli@qt.io>
committerPaolo Angelelli <paolo.angelelli@qt.io>
commit timeFri, 11 Jan 2019 13:51:03 +0000