On the continuity of the time constant of first-passage percolation