cppcheck: Prefer prefix ++/-- operators for non-primitive types

Change-Id: I0dd2f1d2efef7995aaf2ab7656c24178a02eb9cd