Restrict register_dalvik_system_VMRuntime to targetSdkVersion<=34 am: 8e18c45e19

Original change: https://android-review.googlesource.com/c/platform/art/+/2965305

Change-Id: I0aa025e68641400da08ce619db58cfb9a09cb931
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>