bpo-45434: Include stdlib.h for specialize stat (GH-29015)

diff --git a/Python/specialize.c b/Python/specialize.c
index 529eabf..264637d 100644
--- a/Python/specialize.c
+++ b/Python/specialize.c
@@ -1,4 +1,3 @@
-
 #include "Python.h"
 #include "pycore_code.h"
 #include "pycore_dict.h"
@@ -8,6 +7,8 @@
 #include "opcode.h"
 #include "structmember.h"         // struct PyMemberDef, T_OFFSET_EX
 
+#include <stdlib.h> // rand()
+
 /* For guidance on adding or extending families of instructions see
  * ./adaptive.md
  */