Dual-function phase shifter for spin-wave logic applications