Cocci regex fix

A problem in usage of regular expressions in SMPL patch causes some issue not to be catch (patch 1). Patch 2 is fixing the problem in coccinelle tests.

PR builds:
- PR build: https://buildbot.suricata-ids.org/builders/regit/builds/83
- PR pcaps: https://buildbot.suricata-ids.org/builders/regit-pcap/builds/22