Effects of nuclear absorption on the Λ[over ̄]/p[over ̄] ratio in relativistic heavy-ion collisions