loader: convert to using loader_stack_alloc for consistency
diff --git a/loader/debug_report.c b/loader/debug_report.c
index c860b86..752ddff 100644
--- a/loader/debug_report.c
+++ b/loader/debug_report.c
@@ -32,7 +32,6 @@
 #include <stdlib.h>
 #include <inttypes.h>
 #ifndef WIN32
-#include <alloca.h>
 #include <signal.h>
 #else
 #endif
@@ -289,11 +288,8 @@
                strlen(pLayerPrefix) +
                strlen(pMsg) +
                50 /* other / whitespace */;
-#ifdef WIN32
-    buf = _alloca(buf_size);
-#else
-    buf = alloca(buf_size);
-#endif
+    buf = loader_stack_alloc(buf_size);
+
     snprintf(buf, buf_size, "%s (%s): object: 0x%" PRIxLEAST64 " type: %d location: %zu msgCode: %d: %s",
              pLayerPrefix, msg_flags, srcObject, objType, location, msgCode, pMsg);
     callback(buf);