accept more integer types in zz_cmp_read_(size_t|ssize_t), check for conversion errors