The stationary points for the function
$$ F(x)=\int_{a}^{x}f(t)\,dt $$
occur when $f(x)=0$. Up to replacing $f(x)$ with $f(a+b-x)$, we can assume that $|F(x)|$ attains its maximum in a point $x_0\in(a,b)$ such that $x_0-a\leq\frac{b-a}{2}$. Integration by parts gives:
$$\int_{a}^{x_0}f(t)\,dx = -\int_{a}^{x_0} t\,f'(t)\,dt =\int_{a}^{x_0}\left(\frac{a+x_0}{2}-t\right)\,f'(t)\,dt,$$
hence:
$$\left|\int_{a}^{x}f(t)\,dt\right|\leq \max_{x\in[a,b]}|f'(x)|\cdot\int_{a}^{x_0}\left|\frac{a+x_0}{2}-t\right|\,dt = \max_{x\in[a,b]}|f'(x)|\cdot\frac{(x_0-a)^2}{4}$$
so:
$$\left|\int_{a}^{x}f(t)\,dt\right|\leq\max_{x\in[a,b]}|f'(x)|\cdot\frac{(b-a)^2}{16}$$
as wanted.