Fixed crash because of null mw when MagickReadImageBlob fails.