basic fixes to ext/imap
Merge branch 'str_size_and_int64' of git.php.net:php-src into str_size_and_int64