AngelScript's implementation uses now-deprecated `OSAtomicIncrement32` and generates compiler warnings.