fix Issue 13158 - "void has no value" in std.variant.Algebraic (affects D:YAML)
Merge pull request #3793 from 9rnsr/fix13158

[REG2.066a] Issue 13158 - "void has no value" in std.variant.Algebraic (affects D:YAML)