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