doctor: warn about libcurl.framework

Closes #33076.