Make format string linter understand basic template parameter syntax
Summary:
While working on D10815, I got a false positive error from arc lint
Lint: String formatting function arguments mismatch strprintf( "%s (%d)", std::wstring_convert<std::codecvt_utf8_utf16<wchar_t>, wchar_t>() .to_bytes(buf), err) Expected 2 argument(s) after format string but found 3 argument(s)
This is a backport of core#13939
Test Plan: run arc lint on D10815 and make sure it does not produce a false positive error
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D10816