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

And also fixed the bug: arguments are altered after some calls
void php_gd_error_method(int type, const char *format, va_list args)
{
	TSRMLS_FETCH();

	php_verror(NULL, "", type, format, args TSRMLS_CC);
}

void php_gd_error_method(int type, const char *format, va_list args)
{
	TSRMLS_FETCH();

	php_verror(NULL, "", type, format, args TSRMLS_CC);
}
