Should fix Coverity Resource leak CID 77766
Add -DVALGRIND to the default options for now.
We are not counting the non_increasing trips, unless in debug mode.
Instead of checking for the index, explicitly check for the prev_itin pointer.
Tries to address Coverity CID 77764