Prefer errorOrWarn to fatal for recoverable errors and graceful degradation
when --noinhibit-exec is specified.
Mention the destination symbol, otherwise the diagnostic is not really actionable.
Two errors are not tested but the patch does not intend to add the coverage.
I wonder if it should be a local helper function in Thunks.cpp, as it does not used anywhere else?