MDL-37378 quiz restore: timecheckstate not in old backups.

We need to avoid a notice. If the value is missing, setting it to 0 is
fine. It will get sorted out the next time cron is run.