Use RAII more in alSource.cpp