Fixed error: empty expression statement has no effect

remove unnecessary ';' to silence this warning [-Werror,-Wextra-semi-stmt] (#2063)

Co-authored-by: Sam Lantinga <slouken@libsdl.org>
diff --git a/src/codec_aom.c b/src/codec_aom.c
index 90b7d05..ae91307 100644
--- a/src/codec_aom.c
+++ b/src/codec_aom.c
@@ -829,7 +829,7 @@
             int layerCount = encoder->extraLayerCount + 1;
             if (aom_codec_control(&codec->internal->encoder, AOME_SET_NUMBER_SPATIAL_LAYERS, layerCount) != AOM_CODEC_OK) {
                 return AVIF_RESULT_UNKNOWN_ERROR;
-            };
+            }
         }
         if (aomCpuUsed != -1) {
             if (aom_codec_control(&codec->internal->encoder, AOME_SET_CPUUSED, aomCpuUsed) != AOM_CODEC_OK) {
diff --git a/src/codec_avm.c b/src/codec_avm.c
index d9b2621..0ac61b5 100644
--- a/src/codec_avm.c
+++ b/src/codec_avm.c
@@ -710,7 +710,7 @@
             int layerCount = encoder->extraLayerCount + 1;
             if (aom_codec_control(&codec->internal->encoder, AOME_SET_NUMBER_SPATIAL_LAYERS, layerCount) != AOM_CODEC_OK) {
                 return AVIF_RESULT_UNKNOWN_ERROR;
-            };
+            }
         }
         if (aomCpuUsed != -1) {
             if (aom_codec_control(&codec->internal->encoder, AOME_SET_CPUUSED, aomCpuUsed) != AOM_CODEC_OK) {