front: Move cheatfile merge implementation to CheatUtils.