git: fix curl dependency

The "with-darwinssl" option no longer exists as it is the default.

Fixes #26064.