MDL-40426 - libraries: Deprecate mark_context_dirty().