[PATCH v8 7/8] lib: Add module to simulate atomic sections for testing preemptoff tracers