AngelScript's implementation uses now-deprecated `OSAtomicIncrement32` and generates compiler warnings.
This (hopefully) fixes #416.