Merge pull request #4305 from stenzek/vulkan-framedump-fix Vulkan: Fix minor issues with frame dumping on Vulkan