Rename pididx -> pidx in SharedArray code.

Closes #5891
Merge pull request #5895 from JuliaLang/cjh/fix-5891

Rename pididx -> pidx in SharedArray code.