os-windows: fix cpumask operations