Optimize qHash(Path) to not allocate any memory.
We do this by leveraging KDevHash which we feed with the individial
segment's qHash values.
Before:
0.00077 msecs per iteration (total: 51, iterations: 65536)
After:
0.00048 msecs per iteration (total: 64, iterations: 131072)
So about 38% faster.