Bump toolchain build python version to 3.12

Change-Id: I7f9b6e62eff389f858901ac414b18cbec8fad80b
diff --git a/platforms/shodan/riscv_toolchain.mk b/platforms/shodan/riscv_toolchain.mk
index 10670a2..7329408 100644
--- a/platforms/shodan/riscv_toolchain.mk
+++ b/platforms/shodan/riscv_toolchain.mk
@@ -52,7 +52,7 @@
 		--with-arch=rv32imac \
 		--with-abi=ilp32
 	$(MAKE) -C $(TOOLCHAIN_BUILD_DIR) newlib \
-	  GDB_TARGET_FLAGS="--with-expat=yes --with-python=python3.11"
+	  GDB_TARGET_FLAGS="--with-expat=yes --with-python=python3.12"
 	$(MAKE) -C $(TOOLCHAIN_BUILD_DIR) clean
 
 $(OUT)/toolchain_$(TOOLCHAIN_BUILD_DATE).tar.gz: $(TOOLCHAIN_BIN)
@@ -105,7 +105,7 @@
 		--with-abi=ilp32 \
 		--with-cmodel=medany
 	$(MAKE) -C $(TOOLCHAINIREE_BUILD_DIR) newlib \
-	  GDB_TARGET_FLAGS="--with-expat=yes --with-python=python3.11"
+	  GDB_TARGET_FLAGS="--with-expat=yes --with-python=python3.12"
 	$(MAKE) -C $(TOOLCHAINIREE_BUILD_DIR) clean
 
 # Build with 32-bit baremetal config.