Linear growth of the derivative for measure-preserving diffeomorphisms