[libc++] Avoid including <cmath> in <compare> (#80418)

This reduces the time to include `<compare>` from 84ms to 36ms.

GitOrigin-RevId: 1b5f6916199ce09244cdb52c6911f2028e6ca95a
5 files changed