widgets/magick: goto cleanup on failure