rustc::metadata::decoder: cleanup and slightly speed up each_path