TS-2940: fix varargs corruption when logging fatal errors

When we call the Fatal() macro, make sure to copy the varargs before
logging the error the second time. Also nuke pointless dlfcn wrappers.