[PATCH 04/12] testQemuMonitorJSONqemuMonitorJSONGetMigrationCapabilities: refactor cleanup