core: remove the dead function fmt::argumentstr.
core: make the public fmt API completely safe.
auto merge of #19506 : eddyb/rust/fmt-polish, r=alexcrichton