Fix handling not existent images with ImageMagick

Execution dies if ImageMagick can't load an image: let's return false if we can't load/process the image (plus let's free GD handles).

Bugtracker: http://www.concrete5.org/developers/bugs/5-6-3/unable-to-open-image-imagemick-image-helper/