remove deprecated vec::{is_empty, len} functions
auto merge of #7023 : thestinger/rust/vec, r=brson