Handle percpu synchronization

The fix is in a [separate commit](https://github.com/google/ktsan/commit/c8665a06f5ab5f08fb4b0df3671585d1dd91f3ad) in a [separate branch](https://github.com/google/ktsan/commits/tsan-fixes), which I merged into this one.