Layer-selective spectroscopy of Fe/GaAs(001): Influence of the interface on the magnetic properties