Large time behavior for inhomogeneous damped wave equations with nonlinear memory