fix: build cargo-c with --locked to work around rust-lang/cargo#13002 (#1785)

diff --git a/ext/rav1e.cmd b/ext/rav1e.cmd
index 0b7d116..3f44d89 100755
--- a/ext/rav1e.cmd
+++ b/ext/rav1e.cmd
@@ -13,7 +13,7 @@
 git clone -b v0.6.6 --depth 1 https://github.com/xiph/rav1e.git
 
 cd rav1e
-cargo install cargo-c
+cargo install --locked cargo-c
 
 mkdir build.libavif
 cargo cinstall --release --library-type=staticlib --prefix=/usr --destdir build.libavif