### 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 ScriptServer::register_language(p_language);
}
Error Engine::unregister_script_language(const ScriptLanguage *p_language) {
	return ScriptServer::unregister_language(p_language);
}
int Engine::get_script_language_count() {
	return ScriptServer::get_language_count();
}
ScriptLanguage *Engine::get_script_language(int p_index) const {
	return ScriptServer::get_language(p_index);
}
void Engine::set_editor_hint(bool p_enabled) {
	::Engine::get_singleton()->set_editor_hint(p_enabled);
}
bool Engine::is_editor_hint() const {
	return ::Engine::get_singleton()->is_editor_hint();
}
String Engine::get_write_movie_path() const {
	return ::Engine::get_singleton()->get_write_movie_path();
}
void Engine::set_print_error_messages(bool p_enabled) {
	::Engine::get_singleton()->set_print_error_messages(p_enabled);
}
bool Engine::is_printing_error_messages() const {