Fix crash when capture ends on Windows.
Fix crash when capture ends on Windows.

A CHECK was recently added when stopping a capture that always
fires on Windows. This code was specifically for the Windows local
profiling case which will require a bit of code cleanup to revive,
in the mean time replace CHECK by conditional.

google/orbit,google/orbit,google/orbit,google/orbit