style: use C constant instead of C++ <limits>

And drop unused <new> header.