Fix compiler warnings.
Use non-underscore version of InterlockedCompareExchangePointer.