strip UTF-8 BOM in -frewrite-includes (PR#15664)