migration: split common postcopy out of ram postcopy