OpenMP 5.1 added extended versions of existing target related
event callbacks (emi). These callbacks provide all information of
the old callbacks (noemi) and add more information. Therefore,
noemi callbacks can be transparently wrapped into emi callbacks.
The OpenMP spec allows to only register the emi or noemi
version of each callback. Since a tool down in the multiplexer
recursion might register the emi callback, we delay the
transparent wrapping for each individual tool.
This patch adds the wrappers and the code to transparently
register emi or noemi callbacks.