[libc] Add implementation of hypot.

Refactor src/math/hypotf.cpp and test/src/math/hypotf_test.cpp and reuse them for hypot and hypot_test

Differential Revision: https://reviews.llvm.org/D91831

GitOrigin-RevId: 3b487d51e2ec699c27387fc30374f0d035b2a482
12 files changed