[PATCH 03/12] qemuMonitorJSONSetMigrationCapabilities: Refactor cleanup