Charge carrier dynamics of the heavy-fermion metal CeCoIn5 probed by THz spectroscopy