[PATCH 2/2] qemuMonitorOpen: Refactor cleanup