Added benchmarks for vec::starts_with and vec::ends_with

For issue #9964.