The effect of the local surface charge density on the magnetic moment of an iron adatom from ab initio results