Fix a problem reported by Ed Maste where the test harness was failing to call bound methods as cleanup hooks

git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@221624 91177308-0d34-0410-b5e6-96231b3b80d8