softmmu/qdev-monitor: add error handling in qdev_set_id