On the First Hitting Time of a One-dimensional Diffusion and a Compound Poisson Process