Fix incompatible ImageMagick version exception message.