[Git][ghc/ghc][wip/terrorjack/asan] 21 commits: Adjust releaseCapability_ precondition to allow cap->running_task == NULL