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

TKey<Variant> k;
			k.time = p_time;
			k.transition = p_transition;
			k.value = p_key;
			ret = _insert(p_time, vt->values, k);
		} break;
		case TYPE_METHOD: {
			MethodTrack *mt = static_cast<MethodTrack *>(t);
			ERR_FAIL_COND_V(p_key.get_type() != Variant::DICTIONARY, -1);
			Dictionary d = p_key;
			ERR_FAIL_COND_V(!d.has("method") || (d["method"].get_type() != Variant::STRING_NAME && d["method"].get_type() != Variant::STRING), -1);
			ERR_FAIL_COND_V(!d.has("args") || !d["args"].is_array(), -1);
			MethodKey k;
			k.time = p_time;
			k.transition = p_transition;
			k.method = d["method"];
			k.params = d["args"];
			ret = _insert(p_time, mt->methods, k);
		} break;
		case TYPE_BEZIER: {
			BezierTrack *bt = static_cast<BezierTrack *>(t);
			Array arr = p_key;
			ERR_FAIL_COND_V(arr.size() != 5, -1);
			TKey<BezierKey> k;
			k.time = p_time;
			k.value.value = arr[0];
			k.value.in_handle.x = arr[1];
			k.value.in_handle.y = arr[2];
			k.value.out_handle.x = arr[3];
			k.value.out_handle.y = arr[4];