fix long long -> BigInt for LONG_MAX value

Change-Id: I1cf551299bae925b5a5cf0a488b6cc3497d010bf