compilerplugins: ignore GCC bridges more generically

Change-Id: Ib76b14d37bbe3c32aa0637037d73d0d5dce01b25
diff --git a/compilerplugins/clang/reservedid.cxx b/compilerplugins/clang/reservedid.cxx
index c2523c8..2206257 100644
--- a/compilerplugins/clang/reservedid.cxx
+++ b/compilerplugins/clang/reservedid.cxx
@@ -103,10 +103,8 @@ bool ReservedId::VisitNamedDecl(NamedDecl const * decl) {
        return true;
    }
    auto filename = compiler.getSourceManager().getFilename(spelLoc);
    if ((filename
         == SRCDIR "/bridges/source/cpp_uno/gcc3_linux_x86-64/share.hxx")
        || (filename
            == SRCDIR "/bridges/source/cpp_uno/gcc3_macosx_x86-64/share.hxx"))
    if (filename.startswith(SRCDIR "/bridges/source/cpp_uno/")
        && filename.endswith("share.hxx"))
    {
        return true;
    }