std.algorithm.BoyerMooreFinder: GC to malloc/free

Replace internal GC allocation with malloc/free