Linear cellular automata over modules of finite length and stable finiteness of group rings