TypeMapByOid: Add threshold for per-row hash lookups.