Provide a replacement InterlockedAdd on msvc.

This commit licensed as MIT/X11.