[partition_alloc] Increase amount of spinning in locks on ARM

This change adds a feature to increase the amount of spinning in user
space before a thread waits in the kernel on ARM64 devices to match with
x64 devices.

Bug: 458028996
Change-Id: I152adfc6c666a8f1bddbba0db91816d9e794b32d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7209389
Reviewed-by: Benoit Lize <[email protected]>
Commit-Queue: Anand Ravi <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1553586}
NOKEYCHECK=True
GitOrigin-RevId: d2c67cca04c76e2b5afde23dd298ba4aab1efec1
2 files changed