Fixed some klocwork issues to be reviewed.
Fixed a few klocwork issues in some of the sensor plugins.
Removed an incorrect fix to sensor_pwr.c.