Fix memory leak in MagickImage.imageToBlob().