[PATCH vkd3d] Cleanup HLSL context during error path.