Rework the buffer pool code so that we can support stream resolution changes at
runtime. Also fix a nasty race condition with the pool being destroyed going to
READY and upstram still accessing buffers from the pool.