Prevent multiple graphDidFinish: invocations

In - [TSKGraph subtask:didFinishWithResult:], we need to check that the graph is finished before we exit the barrier block. Otherwise graphDidFinish: can be invoked multiple times.

@jnjosh Please review.