Removed unused access_t values.
Removed rwi_lock_t, added rwlock_t.
Renamed rwlock_acq_t to rwlock_in_line_t.
Made access_t be an enum class.
Cleaned up raw pointer usage in stats_collection_context_t.