Lock the allocator when re-initing the DXVA2 decoder

This avoids a race condition with the allocator being decommited while the
decoder creation is still in progress.