8336384: AbstractQueuedSynchronizer.acquire should cancel acquire when failing due to a LinkageError or other errors
------------- Commit messages: - Improve resilience of AQS and AQLS acquire in the face of errors Changes: https://git.openjdk.org/jdk/pull/20548/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20548&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8336384 Stats: 26 lines in 2 files changed: 12 ins; 2 del; 12 mod Patch: https://git.openjdk.org/jdk/pull/20548.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/20548/head:pull/20548 PR: https://git.openjdk.org/jdk/pull/20548