check_size_for_overflow: use numeric limits instead of c99 macro

Reference issue

What does this implement/fix?

Additional information

Merge request reports

Loading