An analytic approach for the evolution of the static/flowing interface in viscoplastic granular flows