MOBI Input: Dont crash on corrupted JPG images

Use ImageMagick instead of PIL, which handles corrupted JPG files
better. Fixes #1404590 [calibre misbehaves when bad jpeg in mobi file](https://bugs.launchpad.net/calibre/+bug/1404590)