A study of the correlation length near a first-order phase transition: The three-dimensional three-state Potts model