### 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_main_loop();
}
Dictionary Engine::get_version_info() const {
	return ::Engine::get_singleton()->get_version_info();
}
Dictionary Engine::get_author_info() const {
	return ::Engine::get_singleton()->get_author_info();
}
TypedArray<Dictionary> Engine::get_copyright_info() const {
	return ::Engine::get_singleton()->get_copyright_info();
}
Dictionary Engine::get_donor_info() const {
	return ::Engine::get_singleton()->get_donor_info();
}
Dictionary Engine::get_license_info() const {
	return ::Engine::get_singleton()->get_license_info();
}
String Engine::get_license_text() const {
	return ::Engine::get_singleton()->get_license_text();
}
String Engine::get_architecture_name() const {
	return ::Engine::get_singleton()->get_architecture_name();
}
bool Engine::is_in_physics_frame() const {
	return ::Engine::get_singleton()->is_in_physics_frame();
}
bool Engine::has_singleton(const StringName &p_name) const {