On the estimation of X-ray extinction changes due to randomly distributed dislocations in crystals