monitor: implement 'qmp_query_commands' without qmp_cmds