[Clang] Fix a pack expansion bug in template argument deduction (#141547)
I think the intent of df18ee96206 was to substitute only those non-packs
into a pack expansion type (e.g. `T` in `T::pack...`), so let's hold off
pack expansions explicitly, in case there are calls coming from a
substitution of pack expansion.
Fixes https://github.com/llvm/llvm-project/issues/53609