[MERGE #118] Fix max length condition + prevent assert crash
[MERGE #118] Fix max length condition + prevent assert crash

Merge pull request #118 from obastemur:fix_assert_uintmax
1 - `UINT_MAX/3 < MAXLONG`
2 - x86/? max `size_t` == UINT_MAX

Current `if` statement wouldn’t work for x86/? arch. Perhaps it wasn’t
an issue thanks to following `assert`.

So, success of `if` statement prevents the necessity for following
`Assert`. As a result, application would throw instead of `assert`
crash.

Microsoft/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,mrkmarron/ChakraCore,Microsoft/ChakraCore