On an inequality for the Riemann zeta-function in the critical strip