On the minimality of hyperplane sections of Gorenstein threefolds