Lucene 9.8 updates the vector dimension limit overridability. Moving it to the codec. 

We should switch our override to do this correctly now, instead of returning a `FieldType` overriding the value.

For now, this commit would belong in the `lucene_snapshot` branch.
test/framework/src/main/java/org/elasticsearch/index/mapper/MapperServiceTestCase.java
@Override
            public void addReleasable(Aggregator aggregator) {
                
            }
            @Override
            public void removeReleasable(Aggregator aggregator) {
                
            }
            @Override
            public int maxBuckets() {
                return Integer.MAX_VALUE;
            }
            @Override
            public BitsetFilterCache bitsetFilterCache() {
                throw new UnsupportedOperationException();
            }
            @Override
            public BucketedSort buildBucketedSort(SortBuilder<?> sort, int size, ExtraData values) throws IOException {
                throw new UnsupportedOperationException();
            }
            @Override
            public int shardRandomSeed() {
                throw new UnsupportedOperationException();
            }
            @Override
            public long getRelativeTimeInMillis() {
                return 0;
            }
            @Override
            public boolean isCancelled() {