Actually fix the priv_ASLNext and priv_ASLRelease functions.
Not actually tested on iOS as I do not have a paid developer account, so I don't know if the compiler emits warnings when compiling for actual iOS devices.
It currently does when using a simulator, and I can't work out just why…
And it's getting late…