Unfortunately, some games dynamically load modules that all have the same
name, but different content. This tries to detect that situation better,
by at least not using the name if the address is different.
This will also track the right sizes for hashing, making incorrect
identification of functions much less likely.
Fixes#8420.