This is true even without assuming that $f$ is differentiable or even continuous.
Indeed, let $\mu=\mu_f$ be the Lebesgue--Stieltjes measure corresponding to a nonincreasing function $f$ on $[a,\infty)$ with $f(\infty-):=\lim_{x\to\infty}f(x)=0$, so that
$$f(x+):=\lim_{y\downarrow x}f(y)=\int_{(x,\infty)}\mu(dt)$$
for all real $x\ge a$. The condition that $\int_a^\infty xf'(x)\,dx$ converges is now replaced by the more general condition
$$\int_{(a,\infty)}\mu(dt)\,t<\infty.$$
Then
$$\begin{aligned}\int_a^\infty dx\,f(x)
&=\int_{(a,\infty)} dx\,f(x+) \\
&=\int_{(a,\infty)} dx\,\int_{(x,\infty)}\mu(dt) \\
&=\int_{(a,\infty)} \mu(dt)\int_{(a,t)}\,dx \\
&=\int_{(a,\infty)} \mu(dt)\,(t-a) \\
&=\int_{(a,\infty)} \mu(dt)\,t-af(a+)<\infty,
\end{aligned}$$
as desired. The third inequality in the above display follows by Tonelli's theorem.