Stability of hypersurface sections of quadric threefolds