Refactor ArithmeticTraits max() and min() functions to static constexpr variables.