Delete an image effect.
ImageStyle $style: The image style this effect belongs to.
$effect: An image effect array.
function image_effect_delete($style, $effect) {
unset($style->effects[$effect['ieid']]);
$style
->save();
image_style_flush($style);
}