Carter makes 6 3-pointers, leads Magic past Pacers