### 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_system_dir(::OS::SystemDir(p_dir), p_shared_storage);
}
String OS::get_keycode_string(Key p_code) const {
	return ::keycode_get_string(p_code);
}
bool OS::is_keycode_unicode(char32_t p_unicode) const {
	return ::keycode_has_unicode((Key)p_unicode);
}
Key OS::find_keycode_from_string(const String &p_code) const {
	return find_keycode(p_code);
}
bool OS::request_permission(const String &p_name) {
	return ::OS::get_singleton()->request_permission(p_name);
}
bool OS::request_permissions() {
	return ::OS::get_singleton()->request_permissions();
}
Vector<String> OS::get_granted_permissions() const {
	return ::OS::get_singleton()->get_granted_permissions();
}
String OS::get_unique_id() const {
	return ::OS::get_singleton()->get_unique_id();
}
OS *OS::singleton = nullptr;
void OS::_bind_methods() {