Fix non-windows compilation
Silence msvc warnings
Use std::atomic where appropriate
Make data stored in VSMap reference counted again
Remove const from cache where it shouldn't be
Add VS_RESTRICT macro, fix misunderstood mess
Add clense to rgvs (untested)
Add missing removegrain modes (untested)
Remove regex dependency
Add missing repair modes (untested)
Import cpuid.asm from libav, fix the derp