qapi/qmp-dispatch: fix return value in do_qmp_dispatch