Merge pull request #8131 from lioncash/move UICommon/ResourcePack/Manager: Resolve use-after-move in Add()