[PATCH 4/7] qemu: monitor: Refactor variable cleanup in qemuMonitorJSONQueryNamedBlockNodes