monitor: Move remaining QMP stuff from misc.c to qmp-cmds.c