libsyntax: librustdoc: ignore utf-8 BOM in .rs files

Closes #12974