[PATCH 03/13] qemuMonitorJSONGetMigrationCapabilities: Refactor cleanup