Replace all occurrences of LONG_MAX and LONG_MIN
See https://github.com/xp-framework/rfc/issues/288