Suppose $g\in L^1([0,\infty))$ and $f$ is measurable. If there exists $M:=\lim_{n\to \infty } \int _0 ^n f(x)dx$, then $$\lim_{c\to0}\int _0 ^\infty f(x)g(cx)dx = Mg(0) $$
In order to use dominated convergence theorem, I tried to find $F \in L^1([0,\infty))$ s.t., $$\lvert f(x)(g(cx)-g(0)\rvert=\left\lvert f(x)\int _0 ^{cx} g'(t)dt\right\rvert\leq F.$$ But I couldn't find it.
This is just a partial answer, since it is not clear that $f$ is integrable, see e.g. Functions that are Riemann integrable but not Lebesgue integrable. Hence it is not even clear that $f(x)g(cx)$ is integrable.
But if we additionally assume $f\in L^1([0,\infty))$ or equivalently $\int_0^\infty|f(x)|\,dx<\infty$, then we can do the following: $$|f(x)(g(cx)-g(0))|=|f(x)|\cdot\left\lvert\int_0^{cx}g'(t)\, dt\right\rvert\leq |f(x)|\cdot\int_0^{cx}|g'(t)|\, dt$$ $$\leq |f(x)|\cdot\int_0^{\infty}|g'(t)|\, dt=:F(x),$$ which is integrable because $f$ is integrable and well defined since $g'\in L^1$. Then you can employ the dominated convergence theorem.