swapchain_tdm: fixed an incorrect use of user allocator.