Atomic handling of map clauses was introduced to comply with the OpenMP
standard (see D104418). However, many apps won't need this feature which
can be costly in certain situations. To allow for applications to
opt-out we now introduce the LIBOMPTARGET_MAP_FORCE_ATOMIC environment
flag that voids the atomicity guarantee of the standard for map clauses
again, shifting the burden to the user.
This patch also de-duplicates the code that introduces the events used
to enforce atomicity as a cleanup.
OpenMP spec use true/false, TRUE/FALSE. So better to keep the same convention. Values other than these four values should error out.