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.

Issues were found when trying to fix: https://redmine.openinfosecfoundation.org/issues/1068

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