Revert "Avoid formatting debug message uselessly"

This reverts commit 925a72628b226203e94400da8d43889003804eae.

Reason: introduced an ABI change in the maintenance branch.
diff --git a/library/debug.c b/library/debug.c
index 0aa90e1..9adcf07 100644
--- a/library/debug.c
+++ b/library/debug.c
@@ -55,7 +55,7 @@
 #define DEBUG_BUF_SIZE  512
 
 static int debug_log_mode = POLARSSL_DEBUG_DFL_MODE;
-int debug_threshold = 0;
+static int debug_threshold = 0;
 
 void debug_set_log_mode( int log_mode )
 {