### Godot version

v4.2.dev.custom_build [4714e9589]

### System information

Godot v4.2.dev (4714e9589) - Windows 10.0.22621 - Vulkan (Compatibility) - Radeon RX 580 Series (Advanced Micro Devices, Inc.; 31.0.21023.2010) - Intel(R) Core(TM) i5-9600K CPU @ 3.70GHz (6 Threads)

### Issue description

When trying to compile the export templates for 32 bit windows (using MSVC), it fails and then hangs, until Ctrl+C is pressed (or until it terminates itself). Below is a screenshot of the issue. This **does not happen** if you compile the templates for 64-bit windows.

![Screenshot 2023-08-12 154227](https://github.com/godotengine/godot/assets/63003002/cac9418c-f8bd-4537-b483-64f643d458c4)

### Steps to reproduce

1. Go to the root of the folder where the godot source is at.
2. Run `scons platform=windows target=template_debug/template_release arch=x86_32`
3. Wait until it tries to compile `modules\openxr\extensions\openxr_extension_wrapper_extension.cpp`

However, after looking at the lines of code in question:
```c++
// Below code is on line 129
void OpenXRExtensionWrapperExtension::on_instance_created(const XrInstance p_instance) {
	uint64_t instance = reinterpret_cast<uint64_t>(p_instance);
	GDVIRTUAL_CALL(_on_instance_created, instance);
}
// Below code is on line 138
void OpenXRExtensionWrapperExtension::on_session_created(const XrSession p_session) {
	uint64_t session = reinterpret_cast<uint64_t>(p_session);
	GDVIRTUAL_CALL(_on_session_created, session);
}
```
I would think the `uint64_t` type is causing it to fail, since is not available in a 32-bit environment (according to the screenshot).

### Minimal reproduction project

N/A
GDVIRTUAL_CALL(_on_instance_destroyed);
}
void OpenXRExtensionWrapperExtension::on_session_created(const XrSession p_session) {
	uint64_t session = reinterpret_cast<uint64_t>(p_session);
	GDVIRTUAL_CALL(_on_session_created, session);
}
void OpenXRExtensionWrapperExtension::on_process() {
	GDVIRTUAL_CALL(_on_process);
}
void OpenXRExtensionWrapperExtension::on_pre_render() {
	GDVIRTUAL_CALL(_on_pre_render);
}
void OpenXRExtensionWrapperExtension::on_session_destroyed() {
	GDVIRTUAL_CALL(_on_session_destroyed);
}
void OpenXRExtensionWrapperExtension::on_state_idle() {
	GDVIRTUAL_CALL(_on_state_idle);
}
void OpenXRExtensionWrapperExtension::on_state_ready() {
	GDVIRTUAL_CALL(_on_state_ready);
}
void OpenXRExtensionWrapperExtension::on_state_synchronized() {
	GDVIRTUAL_CALL(_on_state_synchronized);
}
void OpenXRExtensionWrapperExtension::on_state_visible() {
	GDVIRTUAL_CALL(_on_state_visible);
}
void OpenXRExtensionWrapperExtension::on_state_focused() {