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