We do not require the special characteristics of SIZE_MAX (that it be
suitable for use in #if directives), and older library implementations
do not define it. Outside of the preprocessor, (size_t)-1 is exactly
equivalent so let's just use that instead.