Calderón–Zygmund type estimates for a class of obstacle problems with p(x) growth