On the use of synthetic inflow turbulence for scale-resolving simulations of wetted and cavitating flows