function getOriginalFunction(func) {
    return func.__sentry_original__;
}
This extracts the original function if available.  See
`markFunctionWrapped` for more information.

@param func the function to unwrap
@returns the unwrapped version of the function if available.