### Godot version

master CI builds

### System information

Linux / Editor with doubles and GCC sanitizers

### Issue description

The `Linux / Editor with doubles and GCC sanitizers` build can fail with a `attempting free on address which was not malloc()-ed` crash in the `Open and close editor (Vulkan)` step.

https://github.com/godotengine/godot/actions/runs/5366302204/jobs/9735786296#step:15:138
https://github.com/godotengine/godot/actions/runs/5389199469/jobs/9783070708?pr=78740#step:15:138

The failure doesn't seem related to either PR (in fact one of them is just a docs change). I have only seen this issue these two times, still probably worth looking into.

### Steps to reproduce

Open and close https://github.com/godotengine/regression-test-project/archive/4.0.zip using the Vulkan renderer.

### Minimal reproduction project

https://github.com/godotengine/regression-test-project/archive/4.0.zip
vrs_capabilities.texel_size.x = CLAMP(16, vrs_capabilities.min_texel_size.x, vrs_capabilities.max_texel_size.x);
					vrs_capabilities.texel_size.y = CLAMP(16, vrs_capabilities.min_texel_size.y, vrs_capabilities.max_texel_size.y);
					print_verbose(String("  Attachment fragment shading rate") + String(", min texel size: (") + itos(vrs_capabilities.min_texel_size.x) + String(", ") + itos(vrs_capabilities.min_texel_size.y) + String(")") + String(", max texel size: (") + itos(vrs_capabilities.max_texel_size.x) + String(", ") + itos(vrs_capabilities.max_texel_size.y) + String(")"));
				}
			} else {
				print_verbose("- Vulkan Variable Rate Shading not supported");
			}
			if (multiview_capabilities.is_supported) {
				multiview_capabilities.max_view_count = multiviewProperties.maxMultiviewViewCount;
				multiview_capabilities.max_instance_count = multiviewProperties.maxMultiviewInstanceIndex;
				print_verbose("- Vulkan multiview supported:");
				print_verbose("  max view count: " + itos(multiview_capabilities.max_view_count));
				print_verbose("  max instances: " + itos(multiview_capabilities.max_instance_count));
			} else {
				print_verbose("- Vulkan multiview not supported");
			}
			print_verbose("- Vulkan subgroup:");
			print_verbose("  size: " + itos(subgroup_capabilities.size));
			print_verbose("  stages: " + subgroup_capabilities.supported_stages_desc());
			print_verbose("  supported ops: " + subgroup_capabilities.supported_operations_desc());
			if (subgroup_capabilities.quadOperationsInAllStages) {
				print_verbose("  quad operations in all stages");
			}
		} else {
			print_verbose("- Couldn't call vkGetPhysicalDeviceProperties2");
		}
	}
	return OK;
}
Error VulkanContext::_create_instance() {