On Sobolev theorem for Riesz-type potentials in Lebesgue spaces with variable exponent