Fixed #4723 (False positive: Pure virtual call within conditional clause)

conditional clauses directly in constructor/destructor cannot prevent
pure virtual function call otherwise this part of the code would never been called