Critical current oscillations in S/F heterostructures in the presence of s-d scattering