### Godot version

4.0 beta 17

### System information

Windows 11, Forward+, RTX 4090

### Issue description

In the latest beta, baking LightmapGI has taken a big performance hit. The baking itself might not be the problem, it's the (Re)Importing Assets step for the `.exr` that seems to take all the time.




### Steps to reproduce

I've included a repro project to demonstrate it. Click the `LightmapGI` node and then the `Bake Lightmaps` button.

Before Beta 17:
`Done baking lightmaps in 00:00:01.`

With Beta 17 (and the latest Master branch, just in case):
`Done baking lightmaps in 00:00:08.`



### Minimal reproduction project

[lightmap-regression-repro.zip](https://github.com/godotengine/godot/files/10579835/lightmap-regression-repro.zip)

return light_texture;
}
void LightmapGIData::set_uses_spherical_harmonics(bool p_enable) {
	uses_spherical_harmonics = p_enable;
	RS::get_singleton()->lightmap_set_textures(lightmap, light_texture.is_valid() ? light_texture->get_rid() : RID(), uses_spherical_harmonics);
}
bool LightmapGIData::is_using_spherical_harmonics() const {
	return uses_spherical_harmonics;
}
void LightmapGIData::set_capture_data(const AABB &p_bounds, bool p_interior, const PackedVector3Array &p_points, const PackedColorArray &p_point_sh, const PackedInt32Array &p_tetrahedra, const PackedInt32Array &p_bsp_tree, float p_baked_exposure) {
	if (p_points.size()) {
		int pc = p_points.size();
		ERR_FAIL_COND(pc * 9 != p_point_sh.size());
		ERR_FAIL_COND((p_tetrahedra.size() % 4) != 0);
		ERR_FAIL_COND((p_bsp_tree.size() % 6) != 0);
		RS::get_singleton()->lightmap_set_probe_capture_data(lightmap, p_points, p_point_sh, p_tetrahedra, p_bsp_tree);
		RS::get_singleton()->lightmap_set_probe_bounds(lightmap, p_bounds);
		RS::get_singleton()->lightmap_set_probe_interior(lightmap, p_interior);
	} else {
		RS::get_singleton()->lightmap_set_probe_capture_data(lightmap, PackedVector3Array(), PackedColorArray(), PackedInt32Array(), PackedInt32Array());
		RS::get_singleton()->lightmap_set_probe_bounds(lightmap, AABB());
		RS::get_singleton()->lightmap_set_probe_interior(lightmap, false);
	}
	RS::get_singleton()->lightmap_set_baked_exposure_normalization(lightmap, p_baked_exposure);
	baked_exposure = p_baked_exposure;
	interior = p_interior;
	bounds = p_bounds;
}
PackedVector3Array LightmapGIData::get_capture_points() const {