Approximations of non-smooth integral type functionals of one dimensional diffusion processes