Hornets acquire Carroll from Charlotte for Hakim Warrick