vkd3d-shader/hlsl: Implement some destructors on parser.
Basically an alternative way of solving the issue from !1449 (closed) using BISON's %destructor
declarations as suggested by @zfigura.
I have yet to write follow up patches for the remaining semantic value types to fix leaks in case an YYABORT is hit, if this approach is accepted. Still, these are enough to solve the failing assertion on Wine Bug 57686.