[PATCH 08/13] testQemuMonitorJSONGetTPMModels: Refactor cleanup