lock accesses to ABORT

This silences thread-santizer moaning that we think is bogus.