fix regex to detect valgrind version
New PCRE version got stricter
fix size types in zend_ts_hash.*
fix implicit type conversion
fix size types
replace *_STRTOL with STRTOI, etc.
Merge remote-tracking branch 'origin/master' into str_size_and_int64