Study of the internal background of CsI(Tℓ) crystal detectors for dark matter search