Fixed crash on Add Build Configuration screen on broken CMake Presets files

nRF Connect for VS Code

tags
nRF Connect for VS Code

When the CMakePresets.json file for an application had been corrupted or contained invalid JSON, it would block the Add Build Configuration screen from starting correctly. This issue has been fixed.