Density functional theory study of skyrmion pinning by atomic defects in MnSi