On the Implicit Bias of Gradient Descent for Temporal Extrapolation