Local conductivity and surface photovoltage variations due to magnesium segregation in p-type GaN