### Godot version

v4.0.beta.custom_build [7dfcd5556]

### System information

Fedora 37

### Issue description

Rendering a ReflectionProbe immediately crashes the engine.
Backtrace from opening the 3D platformer demo:
```
================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.beta.custom_build (7dfcd555671e31e964948aa3e0f650898d39b80f)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib64/libc.so.6(+0x3cb50) [0x7f03f21f6b50] (??:0)
[2] RendererSceneRenderImplementation::RenderForwardClustered::RenderBufferDataForwardClustered::get_depth_fb(RendererSceneRenderImplementation::RenderForwardClustered::RenderBufferDataForwardClustered::DepthFrameBufferType) (/home/jtnicholl/godot/source/godot/servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.cpp:227)
[3] RendererSceneRenderImplementation::RenderForwardClustered::_render_scene(RenderDataRD*, Color const&) (/home/jtnicholl/godot/source/godot/servers/rendering/renderer_rd/forward_clustered/render_forward_clustered.cpp:1726)
[4] RendererSceneRenderRD::render_scene(Ref<RenderSceneBuffers> const&, RendererSceneRender::CameraData const*, RendererSceneRender::CameraData const*, PagedArray<RenderGeometryInstance*> const&, PagedArray<RID> const&, PagedArray<RID> const&, PagedArray<RID> const&, PagedArray<RID> const&, PagedArray<RID> const&, PagedArray<RID> const&, RID, RID, RID, RID, RID, RID, int, float, RendererSceneRender::RenderShadowData const*, int, RendererSceneRender::RenderSDFGIData const*, int, RendererSceneRender::RenderSDFGIUpdateData const*, RenderingMethod::RenderInfo*) (/home/jtnicholl/godot/source/godot/servers/rendering/renderer_rd/renderer_scene_render_rd.cpp:1028)
[5] RendererSceneCull::_render_scene(RendererSceneRender::CameraData const*, Ref<RenderSceneBuffers> const&, RID, RID, unsigned int, RID, RID, RID, RID, int, float, bool, RenderingMethod::RenderInfo*) (/home/jtnicholl/godot/source/godot/servers/rendering/renderer_scene_cull.cpp:3298 (discriminator 4))
[6] RendererSceneCull::_render_reflection_probe_step(RendererSceneCull::Instance*, int) (/home/jtnicholl/godot/source/godot/servers/rendering/renderer_scene_cull.cpp:3424 (discriminator 2))
[7] RendererSceneCull::render_probes() (/home/jtnicholl/godot/source/godot/servers/rendering/renderer_scene_cull.cpp:3452)
[8] RenderingServerDefault::_draw(bool, double) (/home/jtnicholl/godot/source/godot/servers/rendering/rendering_server_default.cpp:91)
[9] RenderingServerDefault::draw(bool, double) (/home/jtnicholl/godot/source/godot/servers/rendering/rendering_server_default.cpp:397)
[10] Main::iteration() (/home/jtnicholl/godot/source/godot/main/main.cpp:3085)
[11] OS_LinuxBSD::run() (/home/jtnicholl/godot/source/godot/platform/linuxbsd/os_linuxbsd.cpp:878)
[12] /home/jtnicholl/godot/source/godot/bin/godot.linuxbsd.editor.dev.x86_64(main+0x15a) [0x2679a00] (/home/jtnicholl/godot/source/godot/platform/linuxbsd/godot_linuxbsd.cpp:75)
[13] /lib64/libc.so.6(+0x27510) [0x7f03f21e1510] (??:0)
[14] /lib64/libc.so.6(__libc_start_main+0x89) [0x7f03f21e15c9] (??:0)
[15] /home/jtnicholl/godot/source/godot/bin/godot.linuxbsd.editor.dev.x86_64(_start+0x25) [0x26797e5] (??:?)
-- END OF BACKTRACE --
================================================================
```
This appears to be a regression from #71130, reverting it fixes the issue.

### Steps to reproduce

Open a scene with a ReflectionProbe.

### Minimal reproduction project

https://github.com/godotengine/godot-demo-projects/tree/4.0-dev/3d/platformer
_render_buffers_copy_screen_texture(p_render_data);
	}
	if (scene_state.used_depth_texture) {
		
		_render_buffers_copy_depth_texture(p_render_data);
	}
	RENDER_TIMESTAMP("Render 3D Transparent Pass");
	RD::get_singleton()->draw_command_begin_label("Render 3D Transparent Pass");
	rp_uniform_set = _setup_render_pass_uniform_set(RENDER_LIST_ALPHA, p_render_data, radiance_texture, true);
	_setup_environment(p_render_data, p_render_data->reflection_probe.is_valid(), screen_size, !p_render_data->reflection_probe.is_valid(), p_default_bg_color, false);
	{
		uint32_t transparent_color_pass_flags = (color_pass_flags | COLOR_PASS_FLAG_TRANSPARENT) & ~(COLOR_PASS_FLAG_SEPARATE_SPECULAR);
		RID alpha_framebuffer = rb_data.is_valid() ? rb_data->get_color_pass_fb(transparent_color_pass_flags) : color_only_framebuffer;
		RenderListParameters render_list_params(render_list[RENDER_LIST_ALPHA].elements.ptr(), render_list[RENDER_LIST_ALPHA].element_info.ptr(), render_list[RENDER_LIST_ALPHA].elements.size(), false, PASS_MODE_COLOR, transparent_color_pass_flags, rb_data.is_null(), p_render_data->directional_light_soft_shadows, rp_uniform_set, get_debug_draw_mode() == RS::VIEWPORT_DEBUG_DRAW_WIREFRAME, Vector2(), p_render_data->scene_data->lod_distance_multiplier, p_render_data->scene_data->screen_mesh_lod_threshold, p_render_data->scene_data->view_count);
		_render_list_with_threads(&render_list_params, alpha_framebuffer, can_continue_color ? RD::INITIAL_ACTION_CONTINUE : RD::INITIAL_ACTION_KEEP, RD::FINAL_ACTION_READ, can_continue_depth ? RD::INITIAL_ACTION_CONTINUE : RD::INITIAL_ACTION_KEEP, RD::FINAL_ACTION_READ);
	}
	RD::get_singleton()->draw_command_end_label();
	RENDER_TIMESTAMP("Resolve");
	RD::get_singleton()->draw_command_begin_label("Resolve");
	if (rb_data.is_valid() && rb->get_msaa_3d() != RS::VIEWPORT_MSAA_DISABLED) {
		for (uint32_t v = 0; v < rb->get_view_count(); v++) {
			RD::get_singleton()->texture_resolve_multisample(rb_data->get_color_msaa(v), rb->get_internal_texture(v));
			resolve_effects->resolve_depth(rb_data->get_depth_msaa(v), rb->get_depth_texture(v), rb->get_internal_size(), texture_multisamples[rb->get_msaa_3d()]);
		}
		if (taa && rb->get_use_taa()) {
			taa->msaa_resolve(rb);
		}
	}
	RD::get_singleton()->draw_command_end_label();
	RD::get_singleton()->draw_command_begin_label("Copy framebuffer for SSIL");