[PATCH v1 16/24] qemu_command.c: move CPU mode check to qemu_validate.c