json alert: fix action

It would give 'Pass' as an action when the rule is set to 'alert'.

Prscript:
- PR build: https://buildbot.suricata-ids.org/builders/inliniac/builds/232
- PR pcaps: https://buildbot.suricata-ids.org/builders/inliniac-pcap/builds/152