Dev cppcheck warnings v1.3

https://buildbot.suricata-ids.org/builders/inliniac/builds/90
https://buildbot.suricata-ids.org/builders/inliniac-pcap/builds/11