Stabilize version output for rustc and rustdoc
auto merge of #13816 : anemator/rust/cli-version, r=brson

Fixes #13582