Add support for DOMString in unions (fixes #2324).