A kernel-based method for fractional integro-differential equations with a weakly singular kernel in multi-dimensional complex domains