remove c10::guts::{max,min} (#102952)
Because we have enabled C++17, and std::{max,min} are required to be constexpr since C++14 according to [cppreference](https://en.cppreference.com/w/cpp/algorithm/max) we can safely remove them.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/102952
Approved by: https://github.com/Skylion007