pfr_commit_ktable calls functions that can result in the current ktable being destroyed, which makes it unsafe in a SLIST_FOREACH.
pfr_commit_ktable calls functions that can result in the current
ktable being destroyed, which makes it unsafe in a SLIST_FOREACH.

Fix from Chris Pascoe

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars