fix scorm_check_mode for SCORM 2004

In SCORM 2004, the completion state of the attempt is in cmi.completion_status. Check for this when working out if the last attempt is incomplete.