Fix Issue 9195 - Should not be able to index a pointer in safed

This prevents indexing a pointer in @safe code unless the index is known at compile time to be zero.
Merge pull request #1482 from yebblies/issue9195

Issue 9195 - Should not be able to index a pointer in safed