[libc][math] Refactor set_overflow and set_underflow from pow*_utils. (#239013)
- Refactor `set_overflow` and `set_underflow` from `pow*_utils.h` to
`except_value_utils.h`.
- Migrate most math functions to `fputil::set_overflow /
fputil::set_underflow`.
Assisted-by: Gemini