python:samdb: add set_schema_update_in_progress() helper function