[PATCH 02/10] vkd3d-shader: Centralize cleanup on error in scan_with_parser().