A SAFE formulation for modeling stress waves in elastic waveguides subjected to an initial 3D prestress