no thumbnails for very large pictures

it seems like there's a problem when we try to create thumbnails for
super large pictures.

It has already been reported here:
http://www.concrete5.org/developers/bugs/5-6-0-2/php-bug-in-combination-with-filemanager/