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

Change-Id: I53a7773ed76d5a38301b4f9378c56698e4df7e8b