[analyzer] Fix a crash in SyntaxCString checker when given a custom strncat.

Fixes PR13476