Bug 994876 - Fix DenseSetElemStubExists to check all shapes for DenseAdd stubs. r=djvj