[PATCH v6 15/27] ui: remove redundant use of error_printf_unless_qmp()