The 35-year-old center agrees to a two-year deal with the Lakers. McGee and a second-round pick are dealt to the Cavaliers to create space.