FindOpenSSL: Search in more-specific directories before less-specific
Since commit b1484403 we use the NAMES_PER_DIR
option to find_library
calls to consider all names in each directory before moving on to the next directory. Fix our library search directory ordering to place more-specific (e.g. VC/) directories before the general directories. Otherwise they may never be considered.
Closes: #16320 (closed)