[PATCH 04/17] qemuMonitorJSONMigrate: Extract flags prior to constructing command