llvm/unittests: Use OwningPtr to fix --vg-leak.