cppcheck : update rules

Cppcheck is currently failing in CI. This patch updates the rules to fix
some of the issues, the remaining ones will be fixed by a patch on the
tf-m repo.

Signed-off-by: Hugo L'Hostis <hugo.lhostis@arm.com>
Change-Id: I0c834b09bf0d9520524780eef2110e4f60f70e71
1 file changed