migration: Avoid qerror_report_err() outside QMP command handlers