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