fix issue 10053 - struct member with pure dtor forces declared dtor to
be pure, too