Fixes issue encountered when cms worker updates grades:
Fixes issue encountered when cms worker updates grades:

Grades: SGF.update
...
Cannot grade student 2 in course course-v1:...  because of exception: 'Settings' object has no attribute 'GENERATE_PROFILE_SCORES'

(cherry picked from commit e0ae8f49a64c3148d446d7e535eca26016dd17d1)

mitocw/edx-platform,msegado/edx-platform,cpennington/edx-platform,appsembler/edx-platform,mitocw/edx-platform,stvstnfrd/edx-platform,eduNEXT/edunext-platform,appsembler/edx-platform,arbrandes/edx-platform,ESOedX/edx-platform,appsembler/edx-platform,msegado/edx-platform,mitocw/edx-platform,mitocw/edx-platform,edx/edx-platform,cpennington/edx-platform,edx/edx-platform,ESOedX/edx-platform,EDUlib/edx-platform,msegado/edx-platform,edx-solutions/edx-platform,eduNEXT/edx-platform,angelapper/edx-platform,eduNEXT/edunext-platform,edx/edx-platform,cpennington/edx-platform,edx-solutions/edx-platform,stvstnfrd/edx-platform,angelapper/edx-platform,arbrandes/edx-platform,ESOedX/edx-platform,cpennington/edx-platform,eduNEXT/edx-platform,eduNEXT/edunext-platform,edx/edx-platform,angelapper/edx-platform,arbrandes/edx-platform,EDUlib/edx-platform,eduNEXT/edx-platform,msegado/edx-platform,ESOedX/edx-platform,stvstnfrd/edx-platform,stvstnfrd/edx-platform,angelapper/edx-platform,edx-solutions/edx-platform,arbrandes/edx-platform,EDUlib/edx-platform,edx-solutions/edx-platform,msegado/edx-platform,eduNEXT/edunext-platform,eduNEXT/edx-platform,EDUlib/edx-platform,appsembler/edx-platform