backport the fix for bug #67739
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  backport the fix for bug #67739
Fixed Bug #66901 php-gd 'c_color' NULL pointer dereference

Upstream https://bitbucket.org/libgd/gd-libgd/commits/463c3bd09bfe8e924e19acad7a2a6af16953a704

Notice: this fix don't manage monochrome/monovisual values
but just fix the security issue CVE-2014-2497
failing when trying to load such an image
NEWS
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  NEWS
  Fixed Bug #66901 php-gd 'c_color' NULL pointer dereference
NEWS
typo
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  typo
typo
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
5.4.33-dev now
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  5.4.33-dev now

Conflicts:
	configure.in
	main/php_version.h
5.5.17 now