[PATCH 08/12] qemuMonitorAddObject: Refactor cleanup