Fix errors in src/ that cppcheck yielded with the default configuration

This fixes a number of cppcheck errors that were found in the /src subfolder of supertuxkart.
[src/input/wiimote.cpp:47]: (warning) Passing value 2.0f to log() leads to implementation-defined result.