fix issue 10513 - pure overriding method cannot call impure out contract of base class

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