[PATCH 6.15 489/780] rust: alloc: add missing invariant in Vec::set_len()