Fix Issue 5835 - `TypeInfo_Array.getHash` creates raw data hash instead using array element hash function

Issue URL: https://d.puremagic.com/issues/show_bug.cgi?id=5835
Speed up `TypeInfo_StaticArray.getHash`.

Use `hashOf` if possible.
Merge pull request #735 from denis-sh/fix-Issue-5835

Fix Issue 5835