Rename avifSampleTransformExpressionIsValid() arg (#2101)

Also remove unused function in avifsampletransformtest.
diff --git a/include/avif/internal.h b/include/avif/internal.h
index 687c8ca..7d2e6c5 100644
--- a/include/avif/internal.h
+++ b/include/avif/internal.h
@@ -202,7 +202,7 @@
 } avifSampleTransformToken;
 
 AVIF_ARRAY_DECLARE(avifSampleTransformExpression, avifSampleTransformToken, tokens);
-avifBool avifSampleTransformExpressionIsValid(const avifSampleTransformExpression * expression, uint32_t numInputImageItems);
+avifBool avifSampleTransformExpressionIsValid(const avifSampleTransformExpression * tokens, uint32_t numInputImageItems);
 avifBool avifSampleTransformExpressionIsEquivalentTo(const avifSampleTransformExpression * a, const avifSampleTransformExpression * b);
 
 avifResult avifSampleTransformRecipeToExpression(avifSampleTransformRecipe recipe, avifSampleTransformExpression * expression);
diff --git a/tests/gtest/avifsampletransformtest.cc b/tests/gtest/avifsampletransformtest.cc
index 0963f0f..f173e7b 100644
--- a/tests/gtest/avifsampletransformtest.cc
+++ b/tests/gtest/avifsampletransformtest.cc
@@ -144,16 +144,6 @@
 
 class SampleTransformOperationTest : public testing::TestWithParam<Op> {};
 
-ImagePtr OneByOne(uint32_t depth) {
-  ImagePtr image(avifImageCreate(/*width=*/1, /*height=*/1, depth,
-                                 AVIF_PIXEL_FORMAT_YUV444));
-  if (image.get() != nullptr &&
-      avifImageAllocatePlanes(image.get(), AVIF_PLANES_YUV) == AVIF_RESULT_OK) {
-    return image;
-  }
-  return nullptr;
-}
-
 TEST_P(SampleTransformOperationTest, Apply) {
   AvifExpression expression;
   // Postfix notation.