Merge pull request #8108 from lioncash/use-after-move Core/Boot/Boot: Amend use-after-move cases in GenerateFromFile()