Fix some cppcheck warnings in tgt-vvp