### Godot version

Godot 4.1-dev (ed63b9ea23)

### System information

Manjaro Gnome

### Issue description

`thread.start(test.bind(0))` prints the following error:

```
ERROR: Caller thread can't call this function in this node. Use call_deferred() or call_thread_group() instead.
   at: get_script (scene/main/node.cpp:3536)
```



### Steps to reproduce

```
func _ready() -> void:
	var thread := Thread.new()
	thread.start(test.bind(0))

func test(i: int) -> void:
	pass
```

### Minimal reproduction project

N/A
return ::OS::get_singleton()->get_locale();
}
String OS::get_locale_language() const {
	return ::OS::get_singleton()->get_locale_language();
}
String OS::get_model_name() const {
	return ::OS::get_singleton()->get_model_name();
}
Error OS::set_thread_name(const String &p_name) {
	return ::Thread::set_name(p_name);
}
::Thread::ID OS::get_thread_caller_id() const {
	return ::Thread::get_caller_id();
};
::Thread::ID OS::get_main_thread_id() const {
	return ::Thread::get_main_id();
};
bool OS::has_feature(const String &p_feature) const {
	const bool *value_ptr = feature_cache.getptr(p_feature);
	if (value_ptr) {
		return *value_ptr;
	} else {
		const bool has = ::OS::get_singleton()->has_feature(p_feature);
		feature_cache[p_feature] = has;
		return has;
	}
}
uint64_t OS::get_static_memory_usage() const {