CA-109013: Fix cross-pool migration and reimplement platform_version check

During a cross-pool migration, the destination host won't be in the local database, so we need to look up its software version via remote RPC to the destination pool master.