Update Aho-Corasick.cpp

adding signature only if its hex signature not equal to NULL.