A Time-Dependent Lateral Boundary Scheme for Limited-Area Primitive Equation Models