[PATCH v2 23/30] qapi: Simplify how qmp_dispatch() gets the request ID