Protect extents_dirty access with extents_mtx.

This fixes race conditions during purging.
5 files changed