Issue 10869 - Ddoc outputted some function modifiers twice.

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