Carter's 3 Leads Mavs Past Hornets