### Godot version

4.1.3 stable.arch_linux

### System information

Artix Linux Godot v4.1.3 stable.arch_linux

### Issue description

The Node selection window in "Create Emission Points From Node" doesn't filter out Node3D Nodes. 
![2023-11-14T16:00:12,622759893+01:00](https://github.com/godotengine/godot/assets/92468390/9b3e2a28-21c6-4447-9c22-579968cc41fd)
Trying to select any non Node3D instance gives an error message ""{NodeType}" doesn't inherit from Node3D".

### Steps to reproduce

1. Create a 3D particle emitter
2. Create a non Node3D Node
3. Click on the "Create Emission Points From Node" option over the viewport.
4. The non Node3D Node appears to be selectable when it shouldn't

### Minimal reproduction project

N/A
#include "gpu_particles_3d_editor_plugin.h"
#include "core/io/resource_loader.h"
#include "editor/editor_node.h"
#include "editor/editor_undo_redo_manager.h"
#include "editor/plugins/node_3d_editor_plugin.h"
#include "editor/scene_tree_dock.h"
#include "scene/3d/cpu_particles_3d.h"
#include "scene/3d/mesh_instance_3d.h"
#include "scene/gui/menu_button.h"
#include "scene/resources/image_texture.h"
#include "scene/resources/particle_process_material.h"
bool GPUParticles3DEditorBase::_generate(Vector<Vector3> &points, Vector<Vector3> &normals) {