Nonconservative discontinuous Galerkin methods for shallow water moment models