Fixes coverity scan defect for stream-app proto integration

https://buildbot.suricata-ids.org/builders/poona/builds/10