A note on Torelli-type theorems for Gorenstein curves