how does Ghidra match functions to their well-known name?

turns out they FNV hash instructions (relocs and some operands masked out), taking into account mnemonic and operand type.

@williballenthin