[OpenMP] Use RTM lock for OMP lock with synchronization hint

This patch introduces a new RTM lock type based on spin lock which is
used for OMP lock with speculative hint on supported architecture.

Differential Revision: https://reviews.llvm.org/D92615

GitOrigin-RevId: c3b5009aa7f42ab8376b39d96e762e2d2e98ab5e
5 files changed