Fixes a crash on exit in Horizon Zero Dawn (with SM 6.0 support added). The docs state it is required: https://learn.microsoft.com/en-us/windows/win32/api/d3d12/nf-d3d12-id3d12dev...
-- v3: tests: Release and then use a heap which contains resources. vkd3d: Do not destroy a heap until its resource count is zero.