x86/x86-64: Fix BoundsCheck slow path clobbering EDX/RDX. am: d77cf74d29

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

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