QGrpcInterceptorChain: optimize if_interceptor constraint
Instead of checking explicitly for sizeof...(Ts) > 0, split the
Ts... into T, Ts..., so matching requires at least one argument (packs
can be empty). Due to some quirks with template aliases, we need to
inject a real template entity to unpack the outer Ts... into the inner
(T, Ts...). Use a template variable for that, which is what we need
for enable_if_t, anyway.
Found in API-review.
Pick-to: 6.11
Change-Id: I356d7191194646b756c0e0c188ad5f9013878fd2
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>