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

Change-Id: I7060802164989c2797d4abea29a378eaa3a54b41