Fixed Bug #67724

(chained zlib filters silently fail with large amounts of data)

Use the same buffer size zlib uses internally to avoid
Z_DATA_ERROR on massively compressed data
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed Bug #67724
BFN
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  BFN
  Fixed Bug #67724
BFN