We have two uses of identical code that checks to see if we have a current preferences file (false for first run of new version). This PR extracts that to new function `blender::bke::preferences::exists()` as there will soon be a third use (#132046). Otherwise no behavior change. Pull Request: https://projects.blender.org/blender/blender/pulls/132140