fix the build with MSVC

- no continue statements inside OpenMP for loops
- signed index variable for OpenMP for loops