Add a workaround for -fsanitize=cfi + dlsym() issue
CFI will SIGILL when calling a function pointer obtained through dlsym(), regardless of whether or not the signature is correct.
See https://bugs.chromium.org/p/chromium/issues/detail?id=1040107 and https://bugs.llvm.org/show_bug.cgi?id=44500