Fixed OpenAL sources deleting

Fixes #2245
This function is a slow O(N) time lookup.Looking at the code, it is only used in debug. It would be best to wrap this whole function in #if OPENAL_DEBUG as well, and comment that it's only for debugging purposes due to the performance hit.