Effects of stress-diffusion interactions in an isotropic elastic medium in the presence of geometric discontinuities