Fixed bug #66356 (Heap Overflow Vulnerability in imagecrop())

And also fixed the bug: arguments are altered after some calls
Merge branch 'PHP-5.5' into PHP-5.6

Conflicts:
	main/php_version.h
Merge branch 'PHP-5.6'