Fix AppLayerProtoDetectPMFreeSignature related valgrind errors