[3.19] main/c-ares: upgrade to 1.24.0
backport !57463 (merged)
The reason for this backport is that curl in 3.19 is built with c-ares (1.22.1), however that version contains a bug causing a loop on devices with older kernels, which was fixed in c-ares 1.24.0.
Curl in 3.18 and lower were not built with c-ares so they are not affected.
Here's the curl bug report: https://github.com/curl/curl/issues/12517 And here's the c-ares bug report: https://github.com/c-ares/c-ares/issues/660