PT symmetry in the non-Hermitian Su-Schrieffer-Heeger model with complex boundary potentials