(cmd_error): Add number of kbd macro iterations to the error message.