avoid bogus warnings about "unknown" pragmas with -frewrite-includes (pr#14831)