MDL-40095 SCORM: Fixed DML error when saving with completion options locked

Regression caused by MDL-38315.
MDL-40095 SCORM: trivial comments tidy up