fix ambiguity warning with SharedArray
Merge pull request #9036 from Jutho/jh/fixsharedarray

fix ambiguity warning with SharedArray