MINOR: stats/debug: maintain a counter of debug commands issued

Debug commands will usually mark the fate of the process. We'd rather
have them counted and visible in a core or in stats output than trying
to guess how a flag combination could happen. The counter is only
incremented when the command is about to be issued however, so that
failed attempts are ignored.
diff --git a/include/common/debug.h b/include/common/debug.h
index f43258e..df85522 100644
--- a/include/common/debug.h
+++ b/include/common/debug.h
@@ -71,6 +71,7 @@
 struct task;
 struct buffer;
 extern volatile unsigned long threads_to_dump;
+extern unsigned int debug_commands_issued;
 void ha_task_dump(struct buffer *buf, const struct task *task, const char *pfx);
 void ha_thread_dump(struct buffer *buf, int thr, int calling_tid);
 void ha_thread_dump_all_to_trash();