types: Seed TypeName hashes from the module's hash (#65077)
A TypeName's hash was mixed with its module's `build_id.lo`, which is
drawn at random for every module instance. Each build therefore hashed
the types in the sysimage and in package images differently. This
reaches `hash(::Type)`, `objectid`, and the layout of the type caches:
whether a build rehashes `Tuple`'s cache during the stdlib imports or
during the next package load is chance, and that was enough to fail a
TTFX comparison of #64064.
Seed from the module's hash instead, which is derived from its name and
parent and saved in images (#47749). Same-named types in same-named
modules, such as a module replaced in Main, now share a hash; lookups
still compare the types themselves.