gpui: Remove some unnecessary unsafe code (#40483)

Release Notes:

- N/A *or* Added/Fixed/Improved ...
b59a3bbd49Lukas Wirth committed on 10/17/2025, 12:20:13 PM· committed by GitHubparenteb3f9b0
10 files changedLine totals unavailable