Since !5231 (merged) we use the
flag followed by the include directory as a separate argument. Some
clang-tidy do not support the flag unless the include
directory is attached to it, so use that form instead.
A similar fix was made by commit !6855 (merged).
Fixes: #23517 (closed)