rustdoc: Only inject extern crates if not present