MDEV-6089 - MySQL WL#7305 "Improve MDL scalability by using lock-free hash"

This is prerequisite for MDEV-6089. Added lf_hash_search_using_hash_value(),
which can reuse previously calculated hash value.