Probing resonant Andreev reflections by photon-assisted tunneling at the atomic scale