Check API version levels for backcompat tests

Check that vendor API level is set and that the board API level >=
202504 when running backcompat tests to check for Secretkeeper nodes.
If those 2 conditions are not met, Secretkeeper is assumed not supported
and we skip over the nodes related to Secretkeeper.

Bug: 394770084
Test: TH
Change-Id: I4846e1f3252615b4829f754c256696bb13903389
diff --git a/tests/backcompat_test/Android.bp b/tests/backcompat_test/Android.bp
index aa1e089..d47487a 100644
--- a/tests/backcompat_test/Android.bp
+++ b/tests/backcompat_test/Android.bp
@@ -14,6 +14,7 @@
         "libanyhow",
         "liblibc",
         "libnix",
+        "librustutils",
         "libvmclient",
         "liblog_rust",
     ],