Fix trivial compiler warnings

Test: Compile & executed many of the tests on Marlin
Change-Id: I2d88922c5dcc88de0394c5bfade02ca1dd9d7b60
15 files changed