AC realloc reduction

With this set, number of realloc calls during startup by AC with emerging-all.rules goes down from 200k to about ~200.

Inspired by https://github.com/inliniac/suricata/pull/1013