Cokernels of the Cartan matrix and stratifying systems