### 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)

r_ret = d;
				return true;
			} else if (track_get_type(track) == TYPE_BEZIER) {
				const BezierTrack *bt = static_cast<const BezierTrack *>(tracks[track]);
				Dictionary d;
				Vector<real_t> key_times;
				Vector<real_t> key_points;
				int kk = bt->values.size();
				key_times.resize(kk);
				key_points.resize(kk * 5);
				real_t *wti = key_times.ptrw();
				real_t *wpo = key_points.ptrw();
#ifdef TOOLS_ENABLED
				Vector<int> handle_modes;
				handle_modes.resize(kk);
				int *whm = handle_modes.ptrw();
#endif 
				int idx = 0;
				const TKey<BezierKey> *vls = bt->values.ptr();
				for (int i = 0; i < kk; i++) {
					wti[idx] = vls[i].time;
					wpo[idx * 5 + 0] = vls[i].value.value;
					wpo[idx * 5 + 1] = vls[i].value.in_handle.x;
					wpo[idx * 5 + 2] = vls[i].value.in_handle.y;
					wpo[idx * 5 + 3] = vls[i].value.out_handle.x;
					wpo[idx * 5 + 4] = vls[i].value.out_handle.y;
#ifdef TOOLS_ENABLED
					whm[idx] = static_cast<int>(vls[i].value.handle_mode);
#endif 
					idx++;