Nucleon transfer to nuclear matter and the absorptive heavy-ion scattering potential