remaining fixes to ext/zlib

datatypes for globals
%pd format
Merge branch 'str_size_and_int64' of git.php.net:php-src into str_size_and_int64