[REG] Issue 11993 - typeof(this) in constraint of member function template should reflect method qualifier

https://d.puremagic.com/issues/show_bug.cgi?id=11993

This is git-head only regression introduced by #3103.