fix issue 11164: do not output __main.d as dependency

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