Dispersive and absorptive corrections to the pion–deuteron scattering length