Stability of two-time-level semi-implicit integration scheme for gravity-wave motion