To Infinity and Beyond: Tool-Use Unlocks Length Generalization in State Space Models