Can Mamba Learn In Context with Outliers? A Theoretical Generalization Analysis