This fixes the error compiling _com_ptr_t described in https://bugs.llvm.org/show_bug.cgi?id=42842
In MSVCCompat mode, clang already attempts to downgrade these mismatches to a warning, but because C++17 considers the specifiers part of the type, the check in MergeFunctionDecl needs to ignore these specifiers for purpose of comparison.