Wind-driven ocean circulation transition to barotropic instability