Implicit time discretization of the mean curvature flow with a discontinuous forcing term