gpui_apple: Remove `block` as a direct dependency (#64641)

# Objective

Get rid of instances of the `block` crate, as it will not compile in a
future version of Rust.

## Solution

Migrate an independent code block to the `objc2` crate family.

This is the last PR in this series, and we get to remove `block` as a
direct dependency!

## Testing

- Tested rendering on MacOS

Release Notes:

- N/A
- [GPUI] Removed `block` as a direct dependency
b89471c52dtidely committed on 9/23/2026, 4:14:14 PM· committed by GitHubparenteb2f43d
5 files changedLine totals unavailable