Instability of time-dependent wind-driven ocean gyres