fix issue 6415 - Placement of pure and nothrow for invariant()

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