Fix issue 4921 - Synopsis code in std.variant documentation throws an assertion error

http://d.puremagic.com/issues/show_bug.cgi?id=4921