### Godot version

v4.2.dev3.mono.official [013e8e3af]

### System information

Windows 11, Godot 4.2-dev3

### Issue description

I wanted to create a Tween that interpolates a method in value range of a long type (64 bit). When the tweened method gets called with values outside the "classical" 32 bit number range (-2147483647 till 2147483647) the method gets only a constant value of -2147483647.

Surprisingly the last call of the tween passes in the correct value then.

### Steps to reproduce

Use the code snippet on any Node C# script (it was a control node in my case):
```
public partial class CurrencyView : Control
{
	public override void _Ready()
	{
		this.SetValue(long.MaxValue);
	}
	
	
	public void SetValue(long value)
	{
		Tween tween = this.CreateTween();
		tween.TweenMethod(new Callable(this, MethodName.OnValueTweener), 0L, value, 0.8d);
	}


	private void OnValueTweener(long value)
	{
		GD.Print(value);
	}
}
```

Then just run any scene with a node in it that has this script attached.
You should see log with the wrong numbers:
```
-2147483648
-2147483648
-2147483648
-2147483648
-2147483648
-2147483648
9223372036854775807
```

### Minimal reproduction project

[tween-bug-project.zip](https://github.com/godotengine/godot/files/12508074/tween-bug-project.zip)

if (temp_packets.size() == 0) {
			return; 
		}
#ifdef DEBUG_PACKET_PUSH
#ifndef _MSC_VER
#warning Debugging packet push, disable this code in production to gain a bit more import performance.
#endif
		uint32_t debug_packet_push = get_temp_packet_size();
		uint32_t debug_data_size = data.size();
#endif
		
		uint8_t header[8];
		uint32_t header_bytes = 0;
		for (uint32_t i = 0; i < components; i++) {
			encode_uint16(temp_packets[0].data[i], &header[header_bytes]);
			header_bytes += 2;
		}
		uint32_t max_shifts[3] = { 0, 0, 0 }; 
		uint32_t max_frame_delta_shift = 0;
		if (temp_packets.size() > 1) {
			_compute_max_shifts(0, temp_packets.size() - 1, max_shifts, max_frame_delta_shift);
			uint16_t shift_header = (max_frame_delta_shift - 1) << 12;
			for (uint32_t i = 0; i < components; i++) {
				shift_header |= max_shifts[i] << (4 * i);
			}
			encode_uint16(shift_header, &header[header_bytes]);
			header_bytes += 2;