Second harmonic generation study of local polar inhomogeneities in Pb3(MgNb2)O9