Fix atomic functions in BFQ