Give the Vulkan driver injectable Vulkan calls and a CUDA function table, so
tests can run it on fake Vulkan, GL and CUDA without a GPU.
Move texture creation and the frame handoff steps out of gl_cuda_vram_t, so
the same tests can cover the fallback to mapped planes and the plane copies.
Remove the step that dropped the textures before falling back. A failed
attempt's textures are already deleted by then.