On a class of fractional type integral equations in variable exponent spaces