Effect of non-Hermiticity on adiabatic elimination in coupled waveguides