Surface morphology and ionization potentials of polar semiconductors: The case of GaAs