Use PacketGetfromAlloc() for packet allocation instead of SCMalloc.

Only changed in one file for testing.