Yahoo confirms departure of media chief Mickie Rosen