[PATCH 08/24] qemuMonitorAddObject: Refactor cleanup