On the stability of gradually varying mud-flows in open channels