SharedArray: don't splat for getindex/setindex! dimensions 1-5

Yields a ~10x performance increase for 3-dimensional SharedArrays