gf lookup: avoid creating unintended specializations and cache misses (#36704)
The typemap code was forgetting to handle the case where the user needed
to look for something complicated (like AbstractVec{Float64}) in the
method table cache (such as for ==).