CLOUDSTACK-4405: fix vm migration during the upgrade to 4.2