Since SSIZE_MAX is less than UINT_MAX on 32-bit platforms we must AND the expression with SSIZE_MAX. Tested on x86_64 and x86. Reviewed-by: H.J. Lu <hjl.tools@gmail.com>