These changes add support for Intel's umonitor/umwait usage in wait code, for architectures that support those intrinsic functions. Usage of umonitor/umwait is off by default, but can be turned on by setting the KMP_USER_LEVEL_MWAIT environment variable.
Patch by Terry Wilmarth and Johnny Peyton.
Change these three lines to just KMP_ATTRIBUTE_TARGET_RTM