Fixes: #77583 bcd51aaa fixed part of template instantiation dependent name issues but still missing some cases This patch want to enhance the dependent name check