Fix potential error computing available swap space on Windows