[DF-3556] Added atomic increment&decrement for android, ios, macos