Add #[deprecated] attribute to two String methods

This commit brings the `MutableSeq` implementation for `String` of the previous commit in line with the breaking changes policy.