Time for local controllability of a 1-D tank containing a fluid modeled by the shallow water equations