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

Change-Id: I453118a27de9484f318f8988a41cda1e809db1a7