Gauff avoids two match points in Centre Court win