SharedArray - more exact array indexing definitions

Changed the function prototypes for SharedArray setindex! and getindex to be more exact, in order to avoid ambiguity warnings in other packages.