TexPool: Fix wrong total memory consumption calculation

The byte count of textures released into the pool was
erroneously added twice to the total byte count.
Replace QStack with std::stack
Audio: Fix stream not being unlocked on exception