Use cmd line when computing hash for obj files, not only for manifests.

Need to avoid conflicts when the same file is compiled with different
settings.
Properly increment misses counter.

We don't want to give up using it completely to allow backward
compatibility with statistics, generated by previous script versions.