Add atomic increment/decrement platform funcs