Mamba Modulation: On the Length Generalization of Mamba