Topological entanglement entropy of the three-dimensional Kitaev model