[PATCH 03/24] qemuMonitorJSONSetMigrationCapabilities: Refactor cleanup