French media mogul resigns after getting charged with embezzlement