Fitting EMC structure functions with intrinsic charm