An act limiting to thirty years the total of the principal and additional penalties that can be imposed upon habitual delinquents, and amending subsection (d) of section one of act numbered thirty-three hundred and ninety-seven, entitled "an act to establish additional penalties for habitual criminals," accordingly