refactor: simplify std.string.tfind.

* lib/std/string.lua (tpack): Factored out of tfind, rather than
defining a new temporary local pack function on every invocation.
(tfind): Simplify accordingly.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>