ZdcAnalysis: Fix cppcheck warnings.

Merged Scott Snyder requested to merge ssnyder/athena:cppcheck.ZdcAnalysis-20230331 into 23.0

Pass strings/containers by const refrerence, not by value. Printf format fix. Potentially uninitialized array. Throw without object.

Merge request reports