d3d11memory: Fix potential crash in GstD3D11PoolAllocator