fix heap overflow warnings on win x64 debug crt
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  fix heap overflow warnings on win x64 debug crt