Before this change, findTableTemplate captured `name` always. This caused a segfault
when LibertyReader::beginTable calls it with `template_name`:
const char *template_name = group->firstName();
if (library_ && template_name) {
tbl_template_ = library_->findTableTemplate(template_name, type);
This pointer is owned by the group and is freed when we hit sta::libertyGroupEnd.
Ensure that findTableTemplate does not capture `name` by using findKey.
Co-authored-by: jmolloy <[email protected]>