Observe that you can solve the equation for the increase of the radius by $r(t) = r_0 e^{kt}$ where $r_0$ is some initial radius (this won't be important later on). Assuming that the hailstone has a uniform mass density $\rho$ we can then give that
$$ m(t) \;\; =\;\; \rho \frac{4\pi}{3} r^3(t) \;\; =\;\; \rho\frac{4\pi}{3} r_0^3 e^{3kt}. $$
Observe that
$$ \frac{dm}{dt} \;\; =\;\; \rho \frac{4\pi}{3} r_0^3 \frac{d}{dt}e^{3kt} \;\; =\;\; 3k \left (\rho \frac{4\pi}{3} r_0^3 e^{3kt} \right ) \;\; =\;\; 3k m(t). $$
Therefore the term
$$ \frac{v}{m} \frac{dm}{dt} \;\; =\;\; 3kv $$
and the differential equation becomes
$$ \frac{dv}{dt} + 3kv \;\; =\;\; g. $$
We can solve this using an integrating factor. The rest should be straightforward from there.