llvm: fix libffi support